aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-checkout-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-checkout-script b/git-checkout-script
index a3bfae79d..5b49662e6 100755
--- a/git-checkout-script
+++ b/git-checkout-script
@@ -29,7 +29,7 @@ while [ "$#" != "0" ]; do
esac
i=$(($i+1))
done
-: ${new=$old}
+[ -z "$new" ] && new=$old
if [ "$force" ]
then