Commit ec84bd00 authored by Committed by Junio C Hamano
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 <[email protected]>
Showing with 117 additions and 83 deletions