summaryrefslogtreecommitdiff
path: root/templates/hooks--commit-msg
diff options
context:
space:
mode:
authorLibravatar Paolo Bonzini <bonzini@gnu.org>2008-02-05 11:01:46 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-06 02:26:02 -0800
commitec84bd000a89e657b36136ec927144cd13f26079 (patch)
tree996093de7b6c86b29b6c16efaf04f4a027bf97fc /templates/hooks--commit-msg
parentgit-commit: set GIT_EDITOR=: if editor will not be launched (diff)
downloadtgif-ec84bd000a89e657b36136ec927144cd13f26079.tar.xz
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>
Diffstat (limited to 'templates/hooks--commit-msg')
0 files changed, 0 insertions, 0 deletions