summaryrefslogtreecommitdiff
path: root/include/git2/config.h
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2012-10-02 17:21:07 +0200
committerSven Strickroth <email@cs-ware.de>2012-10-02 17:21:07 +0200
commit4258d4832b9525ed4e21597a9e63a6dd5aa43507 (patch)
treed7b72e1fe13cb8cc31ef818f8acaba8cc3dab2ea /include/git2/config.h
parent8b3de0b6b8104019def3ddedcf2750539ea7409f (diff)
downloadlibgit2-4258d4832b9525ed4e21597a9e63a6dd5aa43507.tar.gz
Rename xdr to xdg
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'include/git2/config.h')
-rw-r--r--include/git2/config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index a3202c2b1..a7d897443 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -61,7 +61,7 @@ typedef struct {
* may be used on any `git_config` call to load the
* global configuration file.
*
- * This method will not guess the path to the xdr compatible
+ * This method will not guess the path to the xdg compatible
* config file (.config/git/config).
*
* @param global_config_path Buffer of GIT_PATH_MAX length to store the path
@@ -71,21 +71,21 @@ typedef struct {
GIT_EXTERN(int) git_config_find_global(char *global_config_path, size_t length);
/**
- * Locate the path to the global xdr compatible configuration file
+ * Locate the path to the global xdg compatible configuration file
*
- * The xdr compatible configuration file is usually
+ * The xdg compatible configuration file is usually
* located in `$HOME/.config/git/config`.
*
* This method will try to guess the full path to that
* file, if the file exists. The returned path
* may be used on any `git_config` call to load the
- * global configuration file.
+ * xdg compatible configuration file.
*
- * @param global_config_path Buffer of GIT_PATH_MAX length to store the path
- * @return 0 if a global configuration file has been
+ * @param xdg_config_path Buffer of GIT_PATH_MAX length to store the path
+ * @return 0 if a xdg compatible configuration file has been
* found. Its path will be stored in `buffer`.
*/
-GIT_EXTERN(int) git_config_find_xdr(char *global_config_path, size_t length);
+GIT_EXTERN(int) git_config_find_xdg(char *xdg_config_path, size_t length);
/**
* Locate the path to the system configuration file