summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-09-25 14:43:19 +0200
committerEtienne Samson <samson.etienne@gmail.com>2018-10-01 23:27:44 +0200
commit25da1acbc7c931caf2555282d2f5e4e28906d21c (patch)
treec9de5d68b131ff9148487882345db8106c01ec2a
parent7283daa85863f547c2cf54e48df26b9ffe6f0881 (diff)
downloadlibgit2-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.h2
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.