diff options
| author | Carlos Martín Nieto <cmn@elego.de> | 2011-05-24 14:55:34 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-06-01 18:54:56 +0200 |
| commit | cdd9fd473ec96766897fab73c1837c178619409f (patch) | |
| tree | f6c1ed1d78b2bbf9293c4bcb641a7374039e05f3 /include/git2/commit.h | |
| parent | f7e59c4dcf46e0815ab0e7d435fd16755fdf616c (diff) | |
| download | libgit2-cdd9fd473ec96766897fab73c1837c178619409f.tar.gz | |
Allow read_tree_internal to return an error code
There are two reasons why read_tree_internal might return a NULL
tree. The first one is a corrupt index, but the second one is an
invalidated TREE extension. Up to now, its only way to communicate
with its caller was through the return value being NULL or not.
Allow read_tree_internal to report its exit status independently from
the tree pointer.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions
