[libcatalyst-modules-perl] 02/03: fetch: drop .gitignore from upstream sources

Damyan Ivanov dmn at moszumanska.debian.org
Sun May 11 21:25:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libcatalyst-modules-perl.

commit 9322d71eccc4c8105f86906913fec3a9239033d8
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sun May 11 21:13:42 2014 +0000

    fetch: drop .gitignore from upstream sources
    
    this file can only do us harm. we want to always track all upstream-
    supplied filed
---
 debian/fetch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/fetch b/debian/fetch
index 873b794..d291940 100755
--- a/debian/fetch
+++ b/debian/fetch
@@ -90,6 +90,16 @@ sub fetch_dist {
 
     $extracted_tree = File::Spec->catdir( $extract_dir, $extracted_tree );
 
+    # remove .gitignore files from upstream sources these can do us only harm,
+    # since we want to track all changes there, always
+    File::Find::find(
+        {   wanted => sub {
+                unlink $_ if $_ eq '.gitignore';
+            },
+        },
+        $extracted_tree
+    );
+
     doing("Copying extracted source");
     File::Copy::Recursive::dircopy( $extracted_tree, $destination );
     done();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-modules-perl.git



More information about the Pkg-perl-cvs-commits mailing list