git/builtin
Junio C Hamano 5a88f97cff diff- and log- family: handle "git cmd -h" early
"git $builtin -h" bypasses the usual repository setup and calls the
cmd_$builtin() function, expecting it to show the help text.

Unfortunately the commands in the log- and the diff- family want to
call into the revisions machinery, which by definition needs to have
a repository already discovered.  Strictly speaking, they may not
need a repository only for parsing "-h", but it is a good discipline
to future-proof codepath to ensure that setup_revisions() is called
after we know that a repository is there.

Handle the "git $builtin -h" special case very early in these
commands to work around potential issues.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-06-05 11:39:59 +09:00
..
2017-05-30 14:39:47 +09:00
2016-11-22 13:55:20 -08:00
2017-04-26 15:39:08 +09:00
2017-03-31 08:33:56 -07:00
2017-03-30 14:07:14 -07:00
2017-04-26 15:39:08 +09:00
2017-04-26 15:39:08 +09:00
2017-03-31 08:33:56 -07:00
2017-04-13 17:53:08 -07:00
2017-03-31 08:33:56 -07:00
2017-04-19 21:37:13 -07:00
2017-04-15 00:58:36 -07:00
2017-04-19 21:37:13 -07:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2017-04-19 21:37:13 -07:00
2017-04-26 15:39:08 +09:00
2017-04-02 09:49:24 -07:00
2017-04-17 21:56:54 -07:00
2015-10-05 13:20:08 -07:00
2017-04-19 21:37:13 -07:00
2017-04-19 21:37:13 -07:00
2017-03-24 13:07:37 -07:00
2017-01-23 18:51:56 -08:00
2017-04-11 00:21:51 -07:00
2017-04-26 15:39:12 +09:00