]> err.no Git - dpkg/commitdiff
Add '.gitignore' to the default dpkg-source -i regex. Closes: #409566
authorGuillem Jover <guillem@debian.org>
Sun, 4 Feb 2007 02:29:49 +0000 (02:29 +0000)
committerGuillem Jover <guillem@debian.org>
Sun, 4 Feb 2007 02:29:49 +0000 (02:29 +0000)
Thanks to Julien Cristau.

ChangeLog
debian/changelog
scripts/dpkg-source.pl

index 8894f9fda55317785f60966a3ac274d40634887d..5c2dbf63f0e4eb76b6fc80e4919a735aae6f0911 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-04  Julien Cristau  <jcristau@debian.org>
+
+       * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add
+       '.gitignore'.
+
 2007-01-24  Guillem Jover  <guillem@debian.org>
 
        * scripts/controllib.pl: Move substvar initializations to ...
index 47a1e48cce6443028a308ade74b9769e0b40a28d..5ff807c1c0273692090fcfdea84b1082792f5d00 100644 (file)
@@ -22,6 +22,8 @@ dpkg (1.14.0) UNRELEASED; urgency=low
     now deprecated and should not be used anymore. It might be removed
     sometime in the future. Closes: #31634, #367712, #314462
     Thanks to Frank Lichtenheld.
+  * Add '.gitignore' to the default dpkg-source -i regex. Closes: #409566
+    Thanks to Julien Cristau.
 
   [ Updated dpkg translations ]
   * Romanian (Eddy PetriČ™or).
index 3f90984bddecfb5168828f96bb365b24168a8a02..6c3e86645f0905adbb0c03dfd63d153ffd22ead8 100755 (executable)
@@ -18,7 +18,7 @@ $diff_ignore_default_regexp = '
 # Ignore baz-style junk files or directories
 (?:^|/),,.*(?:$|/.*$)|
 # File-names that should be ignored (never directories)
-(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore)$|
+(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
 # File or directory names that should be ignored
 (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs|\.git|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 ';