diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-14 23:35:48 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-01 10:44:16 +0000 |
| commit | 19faf7c5fcd24fab789d9b7a619b343c1fae7c86 (patch) | |
| tree | bddd1859390e2ad0421ecf05a2d5fa5272503653 /include/git2/common.h | |
| parent | 26b21b391235e708ae41751a5b8d2743af0194fb (diff) | |
| download | libgit2-19faf7c5fcd24fab789d9b7a619b343c1fae7c86.tar.gz | |
object_type: update public API to use git_object_t
git_object_t is the future; update the public API to use it. This will
also ensure that we can build our tests which make use of the old API
without modification (and without compiler warnings).
Diffstat (limited to 'include/git2/common.h')
| -rw-r--r-- | include/git2/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index 152e23aae..82f6ba48b 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -243,13 +243,13 @@ typedef enum { * > `GIT_CONFIG_LEVEL_GLOBAL`, `GIT_CONFIG_LEVEL_XDG`, or * > `GIT_CONFIG_LEVEL_PROGRAMDATA`. * - * * opts(GIT_OPT_SET_CACHE_OBJECT_LIMIT, git_otype type, size_t size) + * * opts(GIT_OPT_SET_CACHE_OBJECT_LIMIT, git_object_t type, size_t size) * * > Set the maximum data size for the given type of object to be * > considered eligible for caching in memory. Setting to value to * > zero means that that type of object will not be cached. - * > Defaults to 0 for GIT_OBJ_BLOB (i.e. won't cache blobs) and 4k - * > for GIT_OBJ_COMMIT, GIT_OBJ_TREE, and GIT_OBJ_TAG. + * > Defaults to 0 for GIT_OBJECT_BLOB (i.e. won't cache blobs) and 4k + * > for GIT_OBJECT_COMMIT, GIT_OBJECT_TREE, and GIT_OBJECT_TAG. * * * opts(GIT_OPT_SET_CACHE_MAX_SIZE, ssize_t max_storage_bytes) * |
