summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2017-11-17 11:34:47 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-18 12:38:10 +0900
commit0505d604c9c5a361ee027d155c7d1facaf326863 (patch)
treedd9f1ef8b862f5c98e868a0b2864c0aab445212b /templates/hooks--pre-commit.sample
parentcommit: move empty message checks to libgit (diff)
downloadtgif-0505d604c9c5a361ee027d155c7d1facaf326863.tar.xz
Add a function to update HEAD after creating a commit
Add update_head_with_reflog() based on the code that updates HEAD after committing in builtin/commit.c that can be called by 'git commit' and other commands. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-commit.sample')
0 files changed, 0 insertions, 0 deletions