diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 00:32:31 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 10:32:29 +0000 |
commit | ed8cfbf04181d6fc229582a09c5c7657a53cd2e3 (patch) | |
tree | b0c4c06caecb92b497fef1567fe44f1808a00e7c /src/refs.h | |
parent | 87fe57889192e8c83d8da8eb916b31bed6931a89 (diff) | |
download | libgit2-ethomson/git_ref.tar.gz |
references: use new names in internal usageethomson/git_ref
Update internal usage to use the `git_reference` names for constants.
Diffstat (limited to 'src/refs.h')
-rw-r--r-- | src/refs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refs.h b/src/refs.h index f4f934222..46df95eba 100644 --- a/src/refs.h +++ b/src/refs.h @@ -55,8 +55,8 @@ extern bool git_reference__enable_symbolic_ref_target_validation; #define GIT_STASH_FILE "stash" #define GIT_REFS_STASH_FILE GIT_REFS_DIR GIT_STASH_FILE -#define GIT_REF_FORMAT__PRECOMPOSE_UNICODE (1u << 16) -#define GIT_REF_FORMAT__VALIDATION_DISABLE (1u << 15) +#define GIT_REFERENCE_FORMAT__PRECOMPOSE_UNICODE (1u << 16) +#define GIT_REFERENCE_FORMAT__VALIDATION_DISABLE (1u << 15) #define GIT_REFNAME_MAX 1024 @@ -64,7 +64,7 @@ typedef char git_refname_t[GIT_REFNAME_MAX]; struct git_reference { git_refdb *db; - git_ref_t type; + git_reference_t type; union { git_oid oid; |