| commit | ec84bd000a89e657b36136ec927144cd13f26079 | [log] [tgz] |
|---|---|---|
| author | Paolo Bonzini <bonzini@gnu.org> | Tue Feb 05 11:01:46 2008 +0100 |
| committer | Junio C Hamano <gitster@pobox.com> | Wed Feb 06 02:26:02 2008 -0800 |
| tree | 996093de7b6c86b29b6c16efaf04f4a027bf97fc | |
| parent | 406400ce4f69e79b544dd3539a71b85d99331820 [diff] |
git-commit: Refactor creation of log message. This patch moves the code of run_commit, up to writing the trees, editing the message and running the commit-msg hook to prepare_log_message. It also renames the latter to prepare_to_commit. This simplifies a little the code for the next patch. Signed-off-by: Junio C Hamano <gitster@pobox.com>