[PATCH] Fix problematic ']'
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Jul 23, 2007, 20:36 UTC
- 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 <johannes.sixt@telecom.at> ---
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