summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rwxr-xr-xg2
1 files changed, 1 insertions, 1 deletions
diff --git a/g b/g
index 423a200231e9..69b0812265fe 100755
--- a/g
+++ b/g
@@ -213,7 +213,7 @@ local module
elif [ "$cmd" = "-b" ] ; then
create_branch=1
elif [ "$create_branch" = "1" ] ; then
- branch="$arg"
+ branch="$cmd"
create_branch=0
fi
done