diff options
| author | Vicent Marti <vicent@github.com> | 2014-05-02 09:50:15 -0700 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-05-02 09:50:15 -0700 |
| commit | 272b462db7cfb50c1ab69e1edda214b21f242ae5 (patch) | |
| tree | 13c7a7ef6e7ef1e6d90949e60a3d4677ef9096e4 /include/git2/sys/config.h | |
| parent | 9862ef8ef8ffd95a74be8082acab9fea0de85edb (diff) | |
| parent | 99dfa470398b9c4e06e5a5ee61868d3b9e21b26e (diff) | |
| download | libgit2-272b462db7cfb50c1ab69e1edda214b21f242ae5.tar.gz | |
Merge pull request #2308 from libgit2/rb/diff-update-index-stat-cache
Reduce excessive OID calculation for diff and stat
Diffstat (limited to 'include/git2/sys/config.h')
| -rw-r--r-- | include/git2/sys/config.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/git2/sys/config.h b/include/git2/sys/config.h index 3df2ba327..46bb65293 100644 --- a/include/git2/sys/config.h +++ b/include/git2/sys/config.h @@ -73,14 +73,13 @@ struct git_config_backend { * Initializes a `git_config_backend` with default values. Equivalent to * creating an instance with GIT_CONFIG_BACKEND_INIT. * - * @param opts the `git_config_backend` instance to initialize. - * @param version the version of the struct; you should pass - * `GIT_CONFIG_BACKEND_VERSION` here. + * @param opts the `git_config_backend` struct to initialize. + * @param version Version of struct; pass `GIT_CONFIG_BACKEND_VERSION` * @return Zero on success; -1 on failure. */ GIT_EXTERN(int) git_config_init_backend( - git_config_backend* backend, - int version); + git_config_backend *backend, + unsigned int version); /** * Add a generic config file instance to an existing config |
