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 6dd8c37..f05fe10 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";