summaryrefslogtreecommitdiff
path: root/builtin/symbolic-ref.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2015-10-05 22:30:24 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-05 14:43:58 -0700
commit71fe5d7fb03c0db6edcae39a0312bae2c014a818 (patch)
treeabb7763577d903947ccc9e09b0d5f2de0fdac51a /builtin/symbolic-ref.c
parentt5700: demonstrate a Windows file locking issue with `git clone --dissociate` (diff)
downloadtgif-71fe5d7fb03c0db6edcae39a0312bae2c014a818.tar.xz
sha1_file: consolidate code to close a pack's file descriptor
There was a lot of repeated code to close the file descriptor of a given pack. Let's just refactor this code into a single function. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/symbolic-ref.c')
0 files changed, 0 insertions, 0 deletions