commit | 97b16c067492506287a6f474e79ef6cbe0a30e49 | [log] [tgz] |
---|---|---|
author | Petr Baudis <pasky@suse.cz> | Sat Jun 24 04:34:42 2006 +0200 |
committer | Junio C Hamano <junkio@cox.net> | Sun Jul 02 17:14:40 2006 -0700 |
tree | 4966560d51c8e23cc3c9467c322d273fae945905 | |
parent | 5c4082fd687bd0784d3a4d96550e8afab332b63a [diff] |
Git.pm: Better error handling So far, errors just killed the whole program and in case of an error inside of libgit it would be totally uncatchable. This patch makes Git.pm throw standard Perl exceptions instead. In the future we might subclass Error to Git::Error or something but for now Error::Simple is more than enough. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>