From 9ddc4887306f98c4562294fb2373a2ed7d87ae67 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 4 Feb 2007 02:29:49 +0000 Subject: [PATCH] Add '.gitignore' to the default dpkg-source -i regex. Closes: #409566 Thanks to Julien Cristau. --- ChangeLog | 5 +++++ debian/changelog | 2 ++ scripts/dpkg-source.pl | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8894f9fd..5c2dbf63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-04 Julien Cristau + + * scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add + '.gitignore'. + 2007-01-24 Guillem Jover * scripts/controllib.pl: Move substvar initializations to ... diff --git a/debian/changelog b/debian/changelog index 47a1e48c..5ff807c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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). diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 3f90984b..6c3e8664 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -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)?)(?:$|/.*$) '; -- 2.39.5