[debhelper-devel] [debhelper] 01/01: dh_strip: Improve the --exclude speed
Niels Thykier
nthykier at moszumanska.debian.org
Mon Oct 23 06:17:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit afe5104eddb9e8c45709aef7795883e9fb39a86d
Author: Niels Thykier <niels at thykier.net>
Date: Mon Oct 23 06:16:35 2017 +0000
dh_strip: Improve the --exclude speed
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 7 +++++++
dh_strip | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4e66806..c36b4c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (10.10.3) UNRELEASED; urgency=medium
+
+ * dh_strip: Skip the entire directoru when an exclude rule
+ parameter matches it.
+
+ -- Niels Thykier <niels at thykier.net> Mon, 23 Oct 2017 06:14:30 +0000
+
debhelper (10.10.2) unstable; urgency=medium
* Dh_Lib: Fix uninitialized warning in find_hardlinks that
diff --git a/dh_strip b/dh_strip
index 139fb04..11ca472 100755
--- a/dh_strip
+++ b/dh_strip
@@ -176,7 +176,7 @@ $no_auto_dbgsym = 1 if get_buildoption('noautodbgsym') or get_buildoption('nodde
my (@shared_libs, @executables, @static_libs, @build_ids, %file_output);
sub testfile {
my $fn = $_;
- return if -l $fn or -d _; # Skip directories and symlinks always.
+ return if -l $fn; # Always skip symlinks.
# See if we were asked to exclude this file.
# Note that we have to test on the full filename, including directory.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list