diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-06-07 16:39:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-09 00:15:57 -0700 |
commit | e169b974593c27ba7a0d7f63ec0ec40373cb64bb (patch) | |
tree | 6362500196263a0a0dc2b33315ac83dffdd94ca4 /test-match-trees.c | |
parent | send-email: use UTF-8 rather than utf-8 for consistency (diff) | |
download | tgif-e169b974593c27ba7a0d7f63ec0ec40373cb64bb.tar.xz |
show-branch: don't use LASTARG_DEFAULT with OPTARG
5734365 (show-branch: migrate to parse-options API 2009-05-21)
incorrectly set the --more option's flags to be
PARSE_OPT_LASTARG_DEFAULT and PARSE_OPT_OPTARG. These two flags
shouldn't be used together. An option taking a default should just set
the default value desired and parse options will take care of the rest.
Update the header comment to better convey this information.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Acked-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions