summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-08-05 21:46:32 -0700
committerRussell Belfer <rb@github.com>2013-08-05 21:46:32 -0700
commit437224b4b912176ac0992aa56790142e3ba5bb8f (patch)
treebf1e453eed2e7f313ed4e6b4e37767aea2f7ab02 /include/git2
parent9b7d02ff2d9b87d61778ee7ef5e2d43bf4c561f0 (diff)
downloadlibgit2-437224b4b912176ac0992aa56790142e3ba5bb8f.tar.gz
More tests for ambiguous OIDs across packs
The test coverage for ambiguous OIDs was pretty thin. This adds a bunch of new objects both in packs, across packs, and loose that match to 8 characters so that we can test various cases of ambiguous lookups.
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/odb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/odb.h b/include/git2/odb.h
index b64436c4d..b3e9a57a6 100644
--- a/include/git2/odb.h
+++ b/include/git2/odb.h
@@ -120,7 +120,7 @@ GIT_EXTERN(int) git_odb_read(git_odb_object **out, git_odb *db, const git_oid *i
* @param db database to search for the object in.
* @param short_id a prefix of the id of the object to read.
* @param len the length of the prefix
- * @return
+ * @return
* - 0 if the object was read;
* - GIT_ENOTFOUND if the object is not in the database.
* - GIT_EAMBIGUOUS if the prefix is ambiguous (several objects match the prefix)