author | Paolo Bonzini <bonzini@gnu.org> | |
Tue, 5 Feb 2008 10:01:46 +0000 (11:01 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Feb 2008 10:26:02 +0000 (02:26 -0800) | ||
commit | ec84bd000a89e657b36136ec927144cd13f26079 | |
tree | 996093de7b6c86b29b6c16efaf04f4a027bf97fc | tree | snapshot |
parent | 406400ce4f69e79b544dd3539a71b85d99331820 | commit | 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>
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>
builtin-commit.c | diff | blob | history | |
t/t7502-commit.sh | diff | blob | history |