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>
pull/288/head
Eric Wong 17 years ago committed by Martin Langhoff
parent 5744f27794
commit 1136fb5284
  1. 2
      git-archimport.perl

@ -278,7 +278,7 @@ foreach my $ps (@psets) {
#
# ensure we have a clean state
#
if (`git diff-files`) {
if (`git-diff-files`) {
die "Unclean tree when about to process $ps->{id} " .
" - did we fail to commit cleanly before?";
}

Loading…
Cancel
Save