Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack-trees.c: assume submodules are clean during check-out
[gitweb.git]
/
git-cvsimport.perl
diff --git
a/git-cvsimport.perl
b/git-cvsimport.perl
index 69ccb88dde188a5a73eadf3bb8f778afce833b2f..ba23eb8eebdb841139062d4221c87515b96d8729 100755
(executable)
--- a/
git-cvsimport.perl
+++ b/
git-cvsimport.perl
@@
-1007,7
+1007,7
@@
sub commit {
if ($opt_r && $opt_o ne 'HEAD');
system('git-update-ref', 'HEAD', "$orig_branch");
unless ($opt_i) {
- system('git checkout');
+ system('git checkout
-f
');
die "checkout failed: $?\n" if $?;
}
}