r77956 - /scripts/git-tag-pending-bugs

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jul 28 14:14:09 UTC 2011


Author: dmn
Date: Thu Jul 28 14:14:07 2011
New Revision: 77956

URL: http://svn.debian.org/wsvn/?sc=1&rev=77956
Log:
fix parsing the output if git show

Modified:
    scripts/git-tag-pending-bugs

Modified: scripts/git-tag-pending-bugs
URL: http://svn.debian.org/wsvn/scripts/git-tag-pending-bugs?rev=77956&op=diff
==============================================================================
--- scripts/git-tag-pending-bugs (original)
+++ scripts/git-tag-pending-bugs Thu Jul 28 14:14:07 2011
@@ -31,8 +31,9 @@
 $package = basename($repo_path);
 $package =~ s/\.git$//;
 
-for my $line ( $git->command( show => $revision ) ) {
+for my $line ( $git->command( show => '--format=medium' => $revision ) ) {
     if ( defined($log) ) {
+        last if $line =~ /^diff/;
         $log .= "\n" if $log ne '';
         $log .= $line;
         next;




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