SVN devscripts commit: r519 - trunk

Mohammed Adnène Trojette adn at alioth.debian.org
Wed Feb 21 14:35:29 CET 2007


Author: adn
Date: 2007-02-21 14:35:14 +0100 (Wed, 21 Feb 2007)
New Revision: 519

Modified:
   trunk/debcommit.pl
Log:
Revert previous change: it may be suited for #402539,
but I have to test it first.


Modified: trunk/debcommit.pl
===================================================================
--- trunk/debcommit.pl	2007-02-21 13:30:06 UTC (rev 518)
+++ trunk/debcommit.pl	2007-02-21 13:35:14 UTC (rev 519)
@@ -257,7 +257,7 @@
 	if ($prog eq 'tla' || $prog eq 'baz') {
 	    @diffcmd = ($prog, 'file-diff');
 	} elsif ($prog eq 'git') {
-	    @diffcmd = ('git-diff', 'HEAD');
+	    @diffcmd = ('git-diff', '--cached');
 	} else {
 	    @diffcmd = ($prog, 'diff');
 	}




More information about the Devscripts-devel mailing list