summaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2017-10-05 22:32:06 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-06 10:07:18 +0900
commit5de134ca8594de22f2a0b738824f9b5176ae6c00 (patch)
treeba4db9a54b761591130efb8c48c826ec09769214 /diffcore-rename.c
parentlockfile: fix documentation on `close_lock_file_gently()` (diff)
downloadtgif-5de134ca8594de22f2a0b738824f9b5176ae6c00.tar.xz
tempfile: fix documentation on `delete_tempfile()`
The function has always been documented as returning 0 or -1. It is in fact `void`. Correct that. As part of the rearrangements we lose the mention that `delete_tempfile()` might set `errno`. Because there is no return value, the user can't really know whether it did anyway. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions