diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2018-09-25 14:43:19 +0200 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2018-10-01 23:27:44 +0200 |
commit | 25da1acbc7c931caf2555282d2f5e4e28906d21c (patch) | |
tree | c9de5d68b131ff9148487882345db8106c01ec2a | |
parent | 7283daa85863f547c2cf54e48df26b9ffe6f0881 (diff) | |
download | libgit2-25da1acbc7c931caf2555282d2f5e4e28906d21c.tar.gz |
config: fix incorrect filename in documentation comment
The underlying code uses GIT_CONFIG_FILENAME_GLOBAL, which is .gitconfig.
-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 b9649f91c..f32f7af7f 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -262,7 +262,7 @@ GIT_EXTERN(int) git_config_open_level( * Open the global/XDG configuration file according to git's rules * * Git allows you to store your global configuration at - * `$HOME/.config` or `$XDG_CONFIG_HOME/git/config`. For backwards + * `$HOME/.gitconfig` or `$XDG_CONFIG_HOME/git/config`. For backwards * compatability, the XDG file shouldn't be used unless the use has * created it explicitly. With this function you'll open the correct * one to write to. |