author | Stephen Boyd <bebarino@gmail.com> | |
Thu, 21 May 2009 07:33:18 +0000 (00:33 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 May 2009 05:48:04 +0000 (22:48 -0700) | ||
commit | 57343652a55bdc3e7f3cf8c6def94dac482c72e5 | |
tree | fc49e41ae2d9c38cb44a3c6267ec10e3b260b960 | tree | snapshot |
parent | 1ca20358e769e5bf8f3567a658efe858f8550ff5 | commit | diff |
show-branch: migrate to parse-options API
Note that "-g" no longer uses an equals '=' sign for its optional
arguments, but "--reflog" still does. This is normal behavior for parse
options, as arguments to "-g" are put immediately after the option with
no space.
For example
git show-branch -g=4
is now
git show-branch -g4
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Note that "-g" no longer uses an equals '=' sign for its optional
arguments, but "--reflog" still does. This is normal behavior for parse
options, as arguments to "-g" are put immediately after the option with
no space.
For example
git show-branch -g=4
is now
git show-branch -g4
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-show-branch.c | diff | blob | history |