summaryrefslogtreecommitdiff
path: root/credential-cache--daemon.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-10-01 12:28:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-01 13:38:39 -0700
commit5527d5349b42aeb2ea36edfd2d55016f22fefc08 (patch)
tree9a5d552ad131f9b650f6fe796991854068dd10e8 /credential-cache--daemon.c
parentclose_lock_file(): exit (successfully) if file is already closed (diff)
downloadtgif-5527d5349b42aeb2ea36edfd2d55016f22fefc08.tar.xz
rollback_lock_file(): do not clear filename redundantly
It is only necessary to clear the lock_file's filename field if it was not already clear. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Ronnie Sahlberg <sahlberg@google.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential-cache--daemon.c')
0 files changed, 0 insertions, 0 deletions