diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2017-11-17 11:34:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-18 12:38:10 +0900 |
commit | 0505d604c9c5a361ee027d155c7d1facaf326863 (patch) | |
tree | dd9f1ef8b862f5c98e868a0b2864c0aab445212b /builtin/unpack-file.c | |
parent | commit: move empty message checks to libgit (diff) | |
download | tgif-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 'builtin/unpack-file.c')
0 files changed, 0 insertions, 0 deletions