diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2010-06-24 03:28:59 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-25 10:39:55 -0700 |
commit | 4c6887516c60dbbe42390b17a379a85d66919082 (patch) | |
tree | 9122ae9add9d7ec1c86d2f8a742d1ee5733be61a /builtin | |
parent | add tests for checkout -b (diff) | |
download | tgif-4c6887516c60dbbe42390b17a379a85d66919082.tar.xz |
builtin/checkout: reword hint for -b
Shift the 'new' from the param to the hint, and expand the hint.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/checkout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 1994be92c6..27e810b15a 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -657,7 +657,8 @@ int cmd_checkout(int argc, const char **argv, const char *prefix) int dwim_new_local_branch = 1; struct option options[] = { OPT__QUIET(&opts.quiet), - OPT_STRING('b', NULL, &opts.new_branch, "new branch", "branch"), + OPT_STRING('b', NULL, &opts.new_branch, "branch", + "create and checkout a new branch"), OPT_BOOLEAN('l', NULL, &opts.new_branch_log, "log for new branch"), OPT_SET_INT('t', "track", &opts.track, "track", BRANCH_TRACK_EXPLICIT), |