diff options
| author | Vicent Martà <vicent@github.com> | 2013-09-01 08:40:10 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-09-01 08:40:10 -0700 |
| commit | ce9390858f0f5252a8986bc04e0b5c779aafb8aa (patch) | |
| tree | 5112fcfdf3d490c64d714b22ea883ac0a04fdb6a /include/git2 | |
| parent | f2cda906e515bd4cb0cfe244652d764fdabbe23b (diff) | |
| parent | d45e9480e74c3c6249aea631394e1364b138e66e (diff) | |
| download | libgit2-ce9390858f0f5252a8986bc04e0b5c779aafb8aa.tar.gz | |
Merge pull request #1819 from linquize/git_oid_shorten_add
oid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/oid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 662338d93..8bf43a279 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -241,13 +241,13 @@ GIT_EXTERN(git_oid_shorten *) git_oid_shorten_new(size_t min_length); * or freed. * * For performance reasons, there is a hard-limit of how many - * OIDs can be added to a single set (around ~22000, assuming + * OIDs can be added to a single set (around ~32000, assuming * a mostly randomized distribution), which should be enough * for any kind of program, and keeps the algorithm fast and * memory-efficient. * * Attempting to add more than those OIDs will result in a - * GIT_ENOMEM error + * GITERR_INVALID error * * @param os a `git_oid_shorten` instance * @param text_id an OID in text form |
