From: Johannes Sixt Date: Mon, 23 Jul 2007 20:36:21 GMT Subject: [PATCH] Fix problematic ']' Message-ID: <200707232236.21389.johannes.sixt@telecom.at> Not all shells grok a closing ']' of the shell '[' command without surrounding space. Signed-off-by: Johannes Sixt --- I didn't go the long way to change all `[ ... ]` into `test ...` git-rebase--interactive.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 579a45e..e0d1326 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -385,7 +385,7 @@ do require_clean_work_tree - if [ ! -z "$2"] + if [ ! -z "$2" ] then git show-ref --verify --quiet "refs/heads/$2" || die "Invalid branchname: $2" -- 1.5.3.rc0