From 97b88dd58cad9d60427af9a956f90f7803f55db8 Mon Sep 17 00:00:00 2001 From: Bryan Donlan Date: Sun, 4 May 2008 01:37:51 -0400 Subject: git-rebase.sh: Fix --merge --abort failures when path contains whitespace Also update t/t3407-rebase-abort.sh to expose the bug. Signed-off-by: Bryan Donlan Signed-off-by: Junio C Hamano --- git-rebase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-rebase.sh') diff --git a/git-rebase.sh b/git-rebase.sh index 9b13b833cb..c43afe51ab 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -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 ;; -- cgit v1.2.3