pull --rebase: exit early when the working directory is dirty
[gitweb.git] / git-rebase.sh
index fbb0f288b3243bad5c358c6e8ecfb351aeaa52e8..68855c18ae62ef6f4a3fdacb6f8de9c57511aa79 100755 (executable)
@@ -214,7 +214,7 @@ do
                else
                        die "No rebase in progress?"
                fi
-               git reset --hard $(cat $dotest/orig-head)
+               git reset --hard $(cat "$dotest/orig-head")
                rm -r "$dotest"
                exit
                ;;