git-cvsimport-script: typo head -> heads
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 3 Jul 2005 21:40:48 +0000 (23:40 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 3 Jul 2005 21:40:48 +0000 (23:40 +0200)
git-cvsimport-script

index 6dd8c371d092b9e6a6c9823c5e19e5ff8e6ef949..f05fe10598894be94ff08253a5e5478c02e99c79 100755 (executable)
@@ -378,7 +378,7 @@ unless(-d $git_dir) {
        $last_branch = $opt_o;
        $orig_branch = "";
 } else {
-       -f "$git_dir/refs/head/$opt_o"
+       -f "$git_dir/refs/heads/$opt_o"
                or die "Branch '$opt_o' does not exist.\n".
                       "Either use the correct '-o branch' option,\n".
                       "or import to a new repository.\n";