Преглед изворни кода

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

Guillem Jover пре 10 година
родитељ
комит
d92794f4a8
2 измењених фајлова са 3 додато и 1 уклоњено
  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.
   * Make dpkg-architecture warning on non-matching GNU system type compiler
     agnostic.
+  * Add ‘.gitreview’ to the default dpkg-source ignore lists.
   * Build system:
     - 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.

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

@@ -70,7 +70,7 @@ my $diff_ignore_default_regex = '
 (?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|
 # File or directory names that should be ignored
 (?:^|/)(?: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)?)(?:$|/.*$)
 ';
 # Take out comments and newlines
@@ -106,6 +106,7 @@ our @tar_ignore_default_pattern = qw(
 .gitattributes
 .gitignore
 .gitmodules
+.gitreview
 .hg
 .hgignore
 .hgsigs