|
Rockbox mail archiveSubject: Re: svn propertiesRe: svn properties
From: The Seven <theseven_at_gmx.net>
Date: Fri, 18 Jun 2010 18:02:19 +0200 Am 17.06.2010 19:56, schrieb Dominik Riebeling: > A more appropriate solution would be IMO: > > - set all source files to svn:eol-style=LF except files that need CRLF. > - add a proposed ~/.subversion/config file to UsingSVN and especially > tell to use autoprops on the GitVersionControl wiki page. As far as I > can see this should do it: > > [miscellany] > enable-auto-props = yes > > [auto-props] > *.c = svn:eol-style=LF > *.s = svn:eol-style=LF > *.S = svn:eol-style=LF > *.cpp = svn:eol-style=LF > *.h = svn:eol-style=LF > *.ui = svn:eol-style=LF > *.sh = svn:eol-style=LF > *.pl = svn:eol-style=LF > *.pm = svn:eol-style=LF > *.py = svn:eol-style=LF > *.txt = svn:eol-style=LF > *.cfg = svn:eol-style=LF > *.wps = svn:eol-style=LF > *.sbs = svn:eol-style=LF > *.vbs = svn:eol-style=LF # should this be CRLF?) > *.png = svn:mime-type=image/png > *.jpg = svn:mime-type=image/jpeg > *.bmp = svn:mime-type=image/bmp > *.svg = svn:mime-type=image/svg > Makefile = svn:eol-style=LF > > This will leave out a few file types that are used rarely, and for > that case the committer should be able to take care of svn:eol-style > himself. Please point out any file types I missed that should be in > this list. > > Regardless of svn:eol-style and autoprops I'd vote for removing > svn:keywords completely. > +1 Should we reject all commits that don't have eol-style and/or mime-type set? Received on 2010-06-18 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |