builtin-commit: Include the diff in the commit message when verbose.
authorKristian Høgsberg <krh@redhat.com>
Thu, 22 Nov 2007 02:54:49 +0000 (21:54 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:05 +0000 (17:05 -0800)
commit99a12694582e2148fcd492f1eedaddcfe2a21621
treec9d7b3648fd3428062fdb316c4ec4036aa250622
parent2888605c649ccd423232161186d72c0e6c458a48
builtin-commit: Include the diff in the commit message when verbose.

run_diff_index() and the entire diff machinery is hard coded to output
to stdout, so just redirect that and restore it when done.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
wt-status.c