Explorar o código

Dpkg::Source::Package: Add ‘.gitreview’ to the default ignore list

Guillem Jover %!s(int64=10) %!d(string=hai) anos
pai
achega
d92794f4a8
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      debian/changelog
  2. 2 1
      scripts/Dpkg/Source/Package.pm

+ 1 - 0
debian/changelog

@@ -15,6 +15,7 @@ dpkg (1.18.4) UNRELEASED; urgency=low
     --remove commands.
     --remove commands.
   * Make dpkg-architecture warning on non-matching GNU system type compiler
   * Make dpkg-architecture warning on non-matching GNU system type compiler
     agnostic.
     agnostic.
+  * Add ‘.gitreview’ to the default dpkg-source ignore lists.
   * Build system:
   * Build system:
     - Set PERL5LIB globally for the test suite to the local modules directory,
     - Set PERL5LIB globally for the test suite to the local modules directory,
       to avoid using the system modules. Regression introduced in dpkg 1.17.8.
       to avoid using the system modules. Regression introduced in dpkg 1.17.8.

+ 2 - 1
scripts/Dpkg/Source/Package.pm

@@ -70,7 +70,7 @@ my $diff_ignore_default_regex = '
 (?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|
 (?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|
 # File or directory names that should be ignored
 # File or directory names that should be ignored
 (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|
 (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|
-\.hg(?:tags|sigs)?|_darcs|\.git(?:attributes|modules)?|
+\.hg(?:tags|sigs)?|_darcs|\.git(?:attributes|modules|review)?|
 \.mailmap|\.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 \.mailmap|\.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 ';
 ';
 # Take out comments and newlines
 # Take out comments and newlines
@@ -106,6 +106,7 @@ our @tar_ignore_default_pattern = qw(
 .gitattributes
 .gitattributes
 .gitignore
 .gitignore
 .gitmodules
 .gitmodules
+.gitreview
 .hg
 .hg
 .hgignore
 .hgignore
 .hgsigs
 .hgsigs