diff --git a/git-mv.perl b/git-mv.perl index 8d294d652..65b1dcfdf 100755 --- a/git-mv.perl +++ b/git-mv.perl @@ -151,6 +151,11 @@ () if (!$opt_n) { if (!rename($src,$dst)) { $bad = "renaming '$src' failed: $!"; + if ($opt_k) { + print "Warning: skipped: $bad\n"; + $bad = ""; + next; + } last; } }