Rename git_config_{type,var} to git_cvar{_type,}

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
This commit is contained in:
Carlos Martín Nieto 2011-03-29 12:29:21 +02:00
parent 05314b5bf4
commit 238df5590c
2 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@ typedef struct git_index git_index;
typedef struct git_config git_config; typedef struct git_config git_config;
/** Memory representation of a config variable */ /** Memory representation of a config variable */
typedef struct git_config_var git_config_var; typedef struct git_cvar git_cvar;
/** Time in a signature */ /** Time in a signature */
typedef struct git_time { typedef struct git_time {

View File

@ -18,10 +18,10 @@ typedef enum {
GIT_VAR_INT, GIT_VAR_INT,
GIT_VAR_BOOL, GIT_VAR_BOOL,
GIT_VAR_STR GIT_VAR_STR
} git_config_type; } git_cvar_type;
struct git_config_var { struct git_cvar {
git_config_type type; git_cvar_type type;
char *name; char *name;
union { union {
unsigned char boolean; unsigned char boolean;