summaryrefslogtreecommitdiff
path: root/git-bisect.sh
diff options
context:
space:
mode:
authorLibravatar Jim Meyering <jim@meyering.net>2007-03-26 15:57:23 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-27 12:43:49 -0700
commit0d315468f38729ebb15711349cece98a467032c9 (patch)
tree40184f1d72e66267e82a570c7c27568cbba347fb /git-bisect.sh
parentgit-rm: don't remove newly added file without -f (diff)
downloadtgif-0d315468f38729ebb15711349cece98a467032c9.tar.xz
sha1_file.c (write_sha1_from_fd): Detect close failure.
I stumbled across this in the context of the fchmod 0444 patch. At first, I was going to unlink and call error like the two subsequent tests do, but a failed write (above) provokes a "die", so I made this do the same. This is testing for a write failure, after all. Signed-off-by: Jim Meyering <jim@meyering.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-bisect.sh')
0 files changed, 0 insertions, 0 deletions