@matheusbsbs / matheus-bagliano / commits / 1136fb5284
Fork 0

archimport: remove git wrapper dependency

use git-diff-files instead of git diff-files so we don't rely on the wrapper being installed (some people may have git as GNU interactive tools :) Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>

Eric Wong committed Nov 23, 2005 at 23:51 UTC 1136fb5284a5be907a28d887811e8c08aaa3b4da
1 file changed +1 -1
git-archimport.perl
+1 -1
@@ -278,7 +278,7 @@ foreach my $ps (@psets) {
278 #
279 # ensure we have a clean state
280 #
281 - if (`git diff-files`) {
281 + if (`git-diff-files`) {
282 die "Unclean tree when about to process $ps->{id} " .
283 " - did we fail to commit cleanly before?";
284 }