rebase: give a better error message for bogus branch
[gitweb.git] / git-rebase--interactive.sh
index a27952d9fdfb517f684b7d304831bf74d0ce237b..20ebd097da66b3562e65a5d4fa45381384ebb70d 100755 (executable)
@@ -870,7 +870,7 @@ first and then run 'git rebase --continue' again."
 
                if test ! -z "$1"
                then
-                       output git checkout "$1" ||
+                       output git checkout "$1" -- ||
                                die "Could not checkout $1"
                fi