summaryrefslogtreecommitdiff
path: root/wrap-for-bin.sh
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2011-04-01 11:20:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-01 14:42:25 -0700
commitef803fd4b09bca707c7c27669a2789bb050b488c (patch)
treecad535fbfa0afd570bbbc75efac196bcc5e3afb7 /wrap-for-bin.sh
parentparse-remote: typofix (diff)
downloadtgif-ef803fd4b09bca707c7c27669a2789bb050b488c.tar.xz
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>
Diffstat (limited to 'wrap-for-bin.sh')
0 files changed, 0 insertions, 0 deletions