reflog: fix overriding of command line options
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 1 Apr 2011 09:20:33 +0000 (11:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2011 21:42:31 +0000 (14:42 -0700)
commit4b56cf58a9ee684d47e01d815eccd75252d61da5
treeb1906e020252b7f249b0e8bb9ff9fc091058a531
parent21d2616a7181472ae43e33d762a2733827cff9e9
reflog: fix overriding of command line options

Currently, "git reflog" overrides some command line options such as
"--format".

Fix this by using the new 2-phase version of cmd_log_init().

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
t/t1411-reflog-show.sh