Rename git_config_{type,var} to git_cvar{_type,} Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
diff --git a/include/git2/types.h b/include/git2/types.h
index a99195f..aa53909 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -126,7 +126,7 @@ typedef struct git_index git_index;
typedef struct git_config git_config;
/** Memory representation of a config variable */
-typedef struct git_config_var git_config_var;
+typedef struct git_cvar git_cvar;
/** Time in a signature */
typedef struct git_time {
diff --git a/src/config.h b/src/config.h
index 07d123e..2aa9ec8 100644
--- a/src/config.h
+++ b/src/config.h
@@ -18,10 +18,10 @@ typedef enum {
GIT_VAR_INT,
GIT_VAR_BOOL,
GIT_VAR_STR
-} git_config_type;
+} git_cvar_type;
-struct git_config_var {
- git_config_type type;
+struct git_cvar {
+ git_cvar_type type;
char *name;
union {
unsigned char boolean;