Code

Nicer error messages in case saving an object to db goes wrong
authorPetr Baudis <pasky@suse.cz>
Thu, 9 Nov 2006 12:52:05 +0000 (13:52 +0100)
committerJunio C Hamano <junkio@cox.net>
Thu, 9 Nov 2006 17:33:53 +0000 (09:33 -0800)
commit916d081bbaa40617643b09b6dc9c6760993cf6ed
treed638d00eb33f8035f8e4e605c59f9499e72de4ad
parent0623421b0beb5dc4bbe4eb598275e2a608226dec
Nicer error messages in case saving an object to db goes wrong

Currently the error e.g. when pushing to a read-only repository is quite
confusing, this attempts to clean it up, unifies error reporting between
various object writers and uses error() on couple more places.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c