]> git.proxmox.com Git - libgit2.git/commit - src/repository.c
error-handling: Repository
authorVicent Martí <tanoku@gmail.com>
Tue, 6 Mar 2012 23:02:55 +0000 (00:02 +0100)
committerVicent Martí <tanoku@gmail.com>
Tue, 6 Mar 2012 23:11:43 +0000 (00:11 +0100)
commitcb8a79617b15e347f26d21cedde0f2b8670c1876
tree459706192f41bbf15496f0c9bfe2e21b16a7e70b
parent9d160ba85539bbc593369f597a07d42c2770dff4
error-handling: Repository

This also includes droping `git_buf_lasterror` because it makes no sense
in the new system. Note that in most of the places were it has been
dropped, the code needs cleanup. I.e. GIT_ENOMEM is going away, so
instead it should return a generic `-1` and obviously not throw
anything.
21 files changed:
include/git2/errors.h
src/buffer.c
src/buffer.h
src/commit.c
src/crlf.c
src/diff_output.c
src/fileops.c
src/indexer.c
src/odb_loose.c
src/path.c
src/reflog.c
src/refspec.c
src/repository.c
src/status.c
src/tag.c
src/transports/git.c
src/transports/http.c
src/tree.c
src/util.h
src/win32/posix_w32.c
tests/t12-repo.c