diff options
author | Vicent Martà <vicent@github.com> | 2012-08-13 21:01:24 -0700 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2012-08-13 21:01:24 -0700 |
commit | b7916444d989f2b5ae8aed6c3ebdea3313e8a32e (patch) | |
tree | c690b7fd8bc9f6aedf4099c848a906c5e8e9a393 /include/git2 | |
parent | c86dd38a64deb191f6700e4ad5c79a4e3034034d (diff) | |
parent | b90202bbdda36d586ac9ea1680b8faf93b58b2fe (diff) | |
download | libgit2-b7916444d989f2b5ae8aed6c3ebdea3313e8a32e.tar.gz |
Merge pull request #867 from joshtriplett/fix-array-size-for-git_config_get_mapped
Fix incorrect array size in example for git_config_get_mapped
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index 8a36885c7..f415fbd9d 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -342,7 +342,7 @@ GIT_EXTERN(int) git_config_foreach_match( * * A mapping array looks as follows: * - * git_cvar_map autocrlf_mapping[3] = { + * git_cvar_map autocrlf_mapping[] = { * {GIT_CVAR_FALSE, NULL, GIT_AUTO_CRLF_FALSE}, * {GIT_CVAR_TRUE, NULL, GIT_AUTO_CRLF_TRUE}, * {GIT_CVAR_STRING, "input", GIT_AUTO_CRLF_INPUT}, |