summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-10-01 12:28:18 +0200
committerJunio C Hamano <gitster@pobox.com>2014-10-01 13:45:12 -0700
commite31e949b9f9b5e6dcff42e2242cf1a6fb3686b91 (patch)
tree614d90b3ae196a0ab24ec13c5bebeeb944b007be /wrapper.c
parent35ff08be099b36d0be855040a296f985d25dfd0a (diff)
downloadgit-e31e949b9f9b5e6dcff42e2242cf1a6fb3686b91.tar.gz
lock_file(): exit early if lockfile cannot be opened
This is a bit easier to read than the old version, which nested part of the non-error code in an "if" block. 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 'wrapper.c')
0 files changed, 0 insertions, 0 deletions