author | Petr Baudis <pasky@ucw.cz> | |
Wed, 13 Apr 2005 09:28:48 +0000 (02:28 -0700) | ||
committer | Petr Baudis <xpasky@machine> | |
Wed, 13 Apr 2005 09:28:48 +0000 (02:28 -0700) | ||
commit | 2de381f919829aec1e35d6c7cc33519295dcd053 | |
tree | 3f703cd0cd32a4aa9892bda84c664c36e40f7921 | tree | snapshot |
parent | bdd4da595a265a091a859754a22688f7351cddee | commit | diff |
[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>
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 | diff | blob | history | |
cat-file.c | diff | blob | history | |
check-files.c | diff | blob | history | |
checkout-cache.c | diff | blob | history | |
commit-tree.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
fsck-cache.c | diff | blob | history | |
ls-tree.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
read-tree.c | diff | blob | history | |
rev-tree.c | diff | blob | history | |
update-cache.c | diff | blob | history | |
write-tree.c | diff | blob | history |