[PATCH] Consolidate the error handling
authorPetr Baudis <pasky@ucw.cz>
Wed, 13 Apr 2005 09:28:48 +0000 (02:28 -0700)
committerPetr Baudis <xpasky@machine>
Wed, 13 Apr 2005 09:28:48 +0000 (02:28 -0700)
commit2de381f919829aec1e35d6c7cc33519295dcd053
tree3f703cd0cd32a4aa9892bda84c664c36e40f7921
parentbdd4da595a265a091a859754a22688f7351cddee
[PATCH] Consolidate the error handling

Now there is error() for "library" errors and die() for fatal "application"
errors. usage() is now used strictly only for usage errors.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
13 files changed:
cache.h
cat-file.c
check-files.c
checkout-cache.c
commit-tree.c
diff-tree.c
fsck-cache.c
ls-tree.c
read-cache.c
read-tree.c
rev-tree.c
update-cache.c
write-tree.c