diff options
author | Russell Belfer <rb@github.com> | 2012-11-29 17:02:27 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-11-29 17:02:27 -0800 |
commit | d5e44d84983ba199a62ec67f823312584339fae3 (patch) | |
tree | c9c1cd5c6ef12dd4ccd40f274f17a3bf4d077e52 /src/revwalk.h | |
parent | b994bfe3398d797ff8e8bb538eec41602d5e360a (diff) | |
download | libgit2-d5e44d84983ba199a62ec67f823312584339fae3.tar.gz |
Fix function name and add real error check
`revwalk.h:commit_lookup()` -> `git_revwalk__commit_lookup()`
and make `git_commit_list_parse()` do real error checking that
the item in the list is an actual commit object. Also fixed an
apparent typo in a test name.
Diffstat (limited to 'src/revwalk.h')
-rw-r--r-- | src/revwalk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.h b/src/revwalk.h index 2d482cfcc..6146eaf25 100644 --- a/src/revwalk.h +++ b/src/revwalk.h @@ -39,6 +39,6 @@ struct git_revwalk { git_vector twos; }; -git_commit_list_node *commit_lookup(git_revwalk *walk, const git_oid *oid); +git_commit_list_node *git_revwalk__commit_lookup(git_revwalk *walk, const git_oid *oid); #endif |