Files
git/builtin
Michael J Gruber ef803fd4b0 builtin/log.c: separate default and setup of cmd_log_init()
cmd_log_init() sets up some default rev options and then calls
setup_revisions(), so that a caller cannot set up own defaults: Either
they get overriden by cmd_log_init() (if set before) or they override
the command line (if set after). We even complain about this in a
comment to cmd_log_reflog().

Therefore, separate the two steps so that one can still call
cmd_log_init() or, alternatively, cmd_log_init_defaults() followed by
cmd_log_init_finish() (and set defaults in between).

No functional change so far.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-04-01 14:42:25 -07:00
..
2011-02-14 10:48:06 -08:00
2010-11-24 15:55:19 -08:00
2010-12-12 21:49:50 -08:00
2011-03-28 14:02:12 -07:00
2011-03-03 15:45:10 -08:00
2010-11-24 15:55:19 -08:00
2010-11-15 10:04:43 -08:00
2010-11-24 15:55:19 -08:00
2010-11-17 15:01:00 -08:00
2010-11-15 10:04:43 -08:00