summaryrefslogtreecommitdiff
path: root/builtin/hash-object.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-08-10 11:47:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-10 12:57:14 -0700
commit9c77381d6a495e102b811df954d0fa14e62250ab (patch)
tree6e40c31556209cb4c77b570924302e20fe937dba /builtin/hash-object.c
parentlockfile: add accessor get_lock_file_path() (diff)
downloadtgif-9c77381d6a495e102b811df954d0fa14e62250ab.tar.xz
commit_lock_file(): use get_locked_file_path()
First beef up the sanity checking in get_locked_file_path() to match that in commit_lock_file(). Then rewrite commit_lock_file() to use get_locked_file_path() for its pathname computation. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/hash-object.c')
0 files changed, 0 insertions, 0 deletions