Convert existing die(..., strerror(errno)) to die_errno()
commitd824cbba02a4061400a0e382f9bd241fbbff34f0
authorThomas Rast <trast@student.ethz.ch>
Sat, 27 Jun 2009 15:58:46 +0000 (27 17:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Jun 2009 18:14:53 +0000 (27 11:14 -0700)
treeae0c9be6c2778dd10c4cc207957e346855bd4418
parentf8b5a8e13cb4d60c8b630f92a8f07590ef218ec5
Convert existing die(..., strerror(errno)) to die_errno()

Change calls to die(..., strerror(errno)) to use the new die_errno().

In the process, also make slight style adjustments: at least state
_something_ about the function that failed (instead of just printing
the pathname), and put paths in single quotes.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
42 files changed:
bisect.c
branch.c
builtin-apply.c
builtin-blame.c
builtin-clone.c
builtin-commit-tree.c
builtin-commit.c
builtin-config.c
builtin-diff.c
builtin-fast-export.c
builtin-fetch--tool.c
builtin-fmt-merge-msg.c
builtin-fsck.c
builtin-grep.c
builtin-merge.c
builtin-mv.c
builtin-pack-objects.c
builtin-rm.c
builtin-send-pack.c
builtin-tag.c
builtin-unpack-objects.c
csum-file.c
daemon.c
diff.c
dir.c
entry.c
fast-import.c
git.c
index-pack.c
merge-recursive.c
pack-refs.c
pack-write.c
pkt-line.c
read-cache.c
refs.c
run-command.c
setup.c
sha1_file.c
shell.c
test-sha1.c
wrapper.c
write_or_die.c