mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 15:07:23 +00:00
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
This commit is contained in:
commit
b7916444d9
@ -342,7 +342,7 @@ GIT_EXTERN(int) git_config_foreach_match(
|
|||||||
*
|
*
|
||||||
* A mapping array looks as follows:
|
* 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_FALSE, NULL, GIT_AUTO_CRLF_FALSE},
|
||||||
* {GIT_CVAR_TRUE, NULL, GIT_AUTO_CRLF_TRUE},
|
* {GIT_CVAR_TRUE, NULL, GIT_AUTO_CRLF_TRUE},
|
||||||
* {GIT_CVAR_STRING, "input", GIT_AUTO_CRLF_INPUT},
|
* {GIT_CVAR_STRING, "input", GIT_AUTO_CRLF_INPUT},
|
||||||
|
Loading…
Reference in New Issue
Block a user