Files
git/builtin
SZEDER Gábor 840344db75 reflog: fix 'show' subcommand's argv
cmd_reflog() invokes parse_options() with PARSE_OPT_KEEP_ARGV0, but it
doesn't account for the retained argv[0] before invoking
cmd_reflog_show() to handle the 'git reflog show' subcommand.
Consequently, cmd_reflog_show() always gets an 'argv' array starting
with elements argv[0]="reflog" and argv[1]="show".

Strip the name of the git command from the 'argv' array before passing
it to the function handling the 'show' subcommand.

There is no user-visible bug here, because cmd_reflog_show() doesn't
have any options or parameters of its own.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-03-28 15:45:46 -07:00
..
2022-01-27 18:00:15 -08:00
2022-02-25 15:47:36 -08:00
2022-02-25 15:47:35 -08:00
2022-02-17 16:25:05 -08:00
2021-10-28 09:57:09 -07:00
2022-03-16 17:53:07 -07:00
2022-02-09 14:21:00 -08:00
2022-03-09 13:38:24 -08:00
2022-02-25 15:47:36 -08:00
2021-09-28 10:31:02 -07:00
2022-01-03 16:24:15 -08:00
2022-02-25 15:47:35 -08:00
2022-03-28 15:45:46 -07:00
2022-02-25 15:47:36 -08:00
2022-01-10 11:52:56 -08:00
2022-03-16 17:53:08 -07:00
2021-11-03 13:25:36 -07:00
2022-03-06 21:25:31 -08:00