summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-receive.sample
diff options
context:
space:
mode:
authorLibravatar Rene Scharfe <l.s.r@web.de>2017-08-30 20:00:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-07 08:49:28 +0900
commitea8e029785f87dc167491ebbc7ea3e924a72b5c4 (patch)
tree3e66a35a1cc382e94078c6c3e8a04197dbb6bc7f /templates/hooks--pre-receive.sample
parentsend-pack: release strbuf on error return in send_pack() (diff)
downloadtgif-ea8e029785f87dc167491ebbc7ea3e924a72b5c4.tar.xz
sha1_file: release strbuf on error return in index_path()
strbuf_readlink() already frees the buffer for us on error. Clean up if write_sha1_file() fails as well instead of returning early. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-receive.sample')
0 files changed, 0 insertions, 0 deletions