git commit --dry-run -v: show diff in color when asked
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Aug 2009 09:14:14 +0000 (02:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Aug 2009 09:33:21 +0000 (02:33 -0700)
commit3fa509dfbdb8526453f4213f79b371bdfa493f0e
tree00310cf107369aef0e5e57a35b5e58bc0f93e018
parent60c2993c92fa1aa7f4d4aab7de6d8769052ced6f
git commit --dry-run -v: show diff in color when asked

The earlier implementation of --dry-run didn't duplicate the use of color
"git status -v" set up for diff output.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c