On Wed, 2013-01-16 at 20:05 +0000, Ian Campbell wrote: > I mostly use git svn to do Debian kernel stuff. One annoyance with this > is that when you want to add/commit a change under /debian/ you have to > use -f because the file is in .gitignore (the one which comes from the > upstream kernel source). > > The patch below removes /debian/ from the upstream .gitignore and also > adds some further overrides for the debian/patches dir. I could probably > achieve this locally via .git/info/excludes but I figure I'm not the > only one using git svn so perhaps it is worth having in tree? It would > also be correct if/when we eventually switch to git ourselves.
Seems reasonable. [...] > --- /dev/null > +++ b/linux/debian/patches/debian/gitignore.patch > @@ -0,0 +1,18 @@ > +Debian pkg-kernel using git svn. Please include a DEP-3 patch header. > +Index: linux/.gitignore > +=================================================================== > +--- linux.orig/.gitignore 2013-01-06 14:05:25.000000000 +0000 > ++++ linux/.gitignore 2013-01-06 14:07:10.000000000 +0000 [...] This RCS-style file header is so ugly... if you put this in .quiltrc: QUILT_REFRESH_ARGS="--no-timestamps --no-index -p ab" you'll get nice simple file headers. Ben. -- Ben Hutchings I'm not a reverse psychological virus. Please don't copy me into your sig.
signature.asc
Description: This is a digitally signed message part