commit: make it work with status.short
commitf0915cbaf476d63f72c284057680809ed24fbe0d
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 24 Jun 2013 12:45:12 +0000 (24 18:15 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Jun 2013 17:25:49 +0000 (24 10:25 -0700)
tree404617f03384c8dbe5035a288ea67c1b8de10ebe
parentec85d0700faac679ec27eeacad2bcaa6d9bc8322
commit: make it work with status.short

With "status.short" set, it is now impossible to commit with
status.short set, because it acts like "git commit --short", and it
is impossible to differentiate between a status_format set by the
command-line option parser versus that set by the config parser.

To alleviate this problem, clear status_format as soon as the config
parser has finished its work.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c