summaryrefslogtreecommitdiff
path: root/test-mergesort.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-10-01 12:28:24 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-01 13:45:14 -0700
commitd75145acf6d17eb9b0f9d7d8856e523038081311 (patch)
tree30fbc888e9bf8ab371a41ad0b0af927d565b1b20 /test-mergesort.c
parentcommit_lock_file(): rollback lock file on failure to rename (diff)
downloadtgif-d75145acf6d17eb9b0f9d7d8856e523038081311.tar.xz
api-lockfile: document edge cases
* Document the behavior of commit_lock_file() when it fails, namely that it rolls back the lock_file object and sets errno appropriately. * Document the behavior of rollback_lock_file() when called for a lock_file object that has already been committed or rolled back, namely that it is a NOOP. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-mergesort.c')
0 files changed, 0 insertions, 0 deletions