summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39ac7a7)
raw | patch | inline | side by side (parent: 39ac7a7)
author | Tay Ray Chuan <rctay89@gmail.com> | |
Wed, 23 Jun 2010 19:28:59 +0000 (03:28 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 25 Jun 2010 17:39:55 +0000 (10:39 -0700) |
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>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c | patch | blob | history |
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 1994be92c66257da18c31502bda605be170fd092..27e810b15a45a27685b0c16c00d78f70928ca3d0 100644 (file)
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
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),