[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.76-1-28-g7624162

Axel Beckert abe at deuxchevaux.org
Wed Mar 6 17:27:45 UTC 2013


The following commit has been merged in the master branch:
commit 76241627701070d234fc5400182273a3f0372a65
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Mar 6 18:25:51 2013 +0100

    Fix "fatal: pathspec '…' did not match any files" error of "git add".
    
    Only happened when running dh-make-perl on an unpacked distribution directory.
    
    This currently still fails due to later issues yet to be resolved:
    
    Use of uninitialized value $tarball in system at /usr/share/perl5/DhMakePerl/Command/make.pm line 665.
    tar: Old option `f' requires an argument.
    Try `tar --help' or `tar --usage' for more information.
    : No such file or directory at /usr/share/perl5/Pristine/Tar/Formats.pm line 65.
    pristine-tar: failed to generate delta

diff --git a/debian/changelog b/debian/changelog
index 1a7cd49..645f3ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ dh-make-perl (0.77-1) UNRELEASED; urgency=low
     build process to the git repository.
   * Add patch by Matthew Gabeler-Lee to understand packages named
     "-vX.Y.Z". (Closes: #701140)
+  * Fix "fatal: pathspec '…' did not match any files" error of "git add".
 
  -- Salvatore Bonaccorso <carnil at debian.org>  Wed, 19 Sep 2012 15:11:17 +0200
 
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index cbbfde0..26bccff 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -612,7 +612,7 @@ sub git_import_upstream__init_debian {
 
     my $git = Git->repository( $self->main_dir );
     $git->command( qw(symbolic-ref HEAD refs/heads/upstream) );
-    $git->command( 'add', $self->main_dir );
+    $git->command( 'add', '.' );
     $git->command( 'commit', '-m',
               "Import original source of "
             . $self->perlname . ' '

-- 
Debian packaging of dh-make-perl



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