summaryrefslogtreecommitdiff
path: root/t/t2005-checkout-index-symlinks.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-10-01 12:28:18 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-01 13:45:12 -0700
commite31e949b9f9b5e6dcff42e2242cf1a6fb3686b91 (patch)
tree614d90b3ae196a0ab24ec13c5bebeeb944b007be /t/t2005-checkout-index-symlinks.sh
parentprepare_index(): declare return value to be (const char *) (diff)
downloadtgif-e31e949b9f9b5e6dcff42e2242cf1a6fb3686b91.tar.xz
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 't/t2005-checkout-index-symlinks.sh')
0 files changed, 0 insertions, 0 deletions