diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-10-01 12:28:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-01 13:38:39 -0700 |
commit | 5527d5349b42aeb2ea36edfd2d55016f22fefc08 (patch) | |
tree | 9a5d552ad131f9b650f6fe796991854068dd10e8 /ws.c | |
parent | close_lock_file(): exit (successfully) if file is already closed (diff) | |
download | tgif-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 'ws.c')
0 files changed, 0 insertions, 0 deletions