Code

Avoid one-or-more (\+) non BRE in sed scripts.
[git.git] / git-cvsimport.perl
index 69ccb88dde188a5a73eadf3bb8f778afce833b2f..ba23eb8eebdb841139062d4221c87515b96d8729 100755 (executable)
@@ -1007,7 +1007,7 @@ if ($orig_branch) {
                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 $?;
        }
 }