Переглянути джерело

Update default ignore expression to also match *~ and *.swp in subdirs

Wichert Akkerman 24 роки тому
батько
коміт
4eef771066
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 @@
+Wed Jan  2 16:08:02 CET 2002 Wichert Akkerman <wakkerma@debian.org>
+
+  * scripts/dpkg-source.pl: Update default ignore expression to also
+    match *~ and *.swp in subdirs.
+
 Wed Jan  2 15:00:26 CET 2002 Wichert Akkerman <wakkerma@debian.org>
 
   * scripts/dpkg-checkbuilddeps.pl: use space seperated output instead

+ 2 - 0
debian/changelog

@@ -64,6 +64,8 @@ dpkg (1.10) unstable; urgency=low
     #118420.
   * Use space seperated output instead of comma seperated in
     dpkg-checkbuilddeps
+  * Update default ignore expression in dpkg-source to also match *~ and
+    *.swp in subdirs. Closes: Bug#127458
 
  -- Wichert Akkerman <wakkerma@debian.org>  Mon, 20 Aug 2001 14:54:38 +0200
 

+ 1 - 1
scripts/dpkg-source.pl

@@ -8,7 +8,7 @@ my %dirincluded;
 my %notfileobject;
 my $fn;
 
-$diff_ignore_default_regexp = '^.*~$|^\..*\.swp|DEADJOE|(?:/CVS|/RCS|/.deps)(?:$|/.*$)';
+$diff_ignore_default_regexp = '(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|(?:/CVS|/RCS|/.deps)(?:$|/.*$)';
 
 $sourcestyle = 'X';
 $dscformat = "1.0";