diff options
author | Russell Belfer <rb@github.com> | 2014-05-13 16:32:27 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-05-13 16:32:27 -0700 |
commit | 2b52a0bfaedf7571e7ecd706947f5865d513760c (patch) | |
tree | 27faafab276a9023f5357b29f537972c4e385732 /src/repository.h | |
parent | a37aa82ea6f952745c883065a86162343e438981 (diff) | |
download | libgit2-rb/coverity-fixes.tar.gz |
Increase use of config snapshotsrb/coverity-fixes
And decrease extra reload checks of config data.
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h index 27eec9dd8..aba16a016 100644 --- a/src/repository.h +++ b/src/repository.h @@ -39,6 +39,7 @@ typedef enum { GIT_CVAR_ABBREV, /* core.abbrev */ GIT_CVAR_PRECOMPOSE, /* core.precomposeunicode */ GIT_CVAR_SAFE_CRLF, /* core.safecrlf */ + GIT_CVAR_LOGALLREFUPDATES, /* core.logallrefupdates */ GIT_CVAR_CACHE_MAX } git_cvar_cached; @@ -92,6 +93,9 @@ typedef enum { GIT_PRECOMPOSE_DEFAULT = GIT_CVAR_FALSE, /* core.safecrlf */ GIT_SAFE_CRLF_DEFAULT = GIT_CVAR_FALSE, + /* core.logallrefupdates */ + GIT_LOGALLREFUPDATES_UNSET = 2, + GIT_LOGALLREFUPDATES_DEFAULT = GIT_LOGALLREFUPDATES_UNSET, } git_cvar_value; /* internal repository init flags */ |