瀏覽代碼

Add .git directory to default dpkg-source -i regex.
Suggested by Hans Ulrich Niedermann. Closes: #351885

Frank Lichtenheld 20 年之前
父節點
當前提交
fb843e5cac
共有 3 個文件被更改,包括 8 次插入1 次删除
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-source.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-02-11  Frank Lichtenheld  <djpig@debian.org>
+
+	* scripts/dpkg-source.pl: Add .git to
+	$diff_ignore_default_regexp
+
 2006-02-10  Denis Barbier  <barbier@linuxfr.org>
 
 	* scripts/dpkg-source.pl: Touch all patched files

+ 2 - 0
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

+ 1 - 1
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