From fb843e5cac434c71121f34717128956e958a7fba Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 11 Feb 2006 00:11:02 +0000 Subject: [PATCH] Add .git directory to default dpkg-source -i regex. Suggested by Hans Ulrich Niedermann. Closes: #351885 --- ChangeLog | 5 +++++ debian/changelog | 2 ++ scripts/dpkg-source.pl | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efe517dd..58295c2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-11 Frank Lichtenheld + + * scripts/dpkg-source.pl: Add .git to + $diff_ignore_default_regexp + 2006-02-10 Denis Barbier * scripts/dpkg-source.pl: Touch all patched files diff --git a/debian/changelog b/debian/changelog index 435b0453..f7a14ac8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,8 @@ dpkg (1.13.14~) UNRELEASED; urgency=low more complex setups (Julian Gilbey). Closes: #163061 * Add files and dirs used by bzr to default dpkg-source -i regex (maximilian attems). Closes: #345164 + * Add .git directory to default dpkg-source -i regex. + Suggested by Hans Ulrich Niedermann. Closes: #351885 * dpkg-scanpackages can now output Packages files with multiple versions of a single package (Don Armstrong). Closes: #229589. * dpkg-scanpackages outputs help when given the --help or -h option diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 4159b5ba..d5cd8e2e 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -20,7 +20,7 @@ $diff_ignore_default_regexp = ' # File-names that should be ignored (never directories) (?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore)$| # File or directory names that should be ignored -(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs|\.bzr(?:\.backup)?)(?:$|/.*$) +(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs|\.git|\.bzr(?:\.backup)?)(?:$|/.*$) '; # Take out comments and newlines -- 2.39.5