summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-06 20:40:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-06 20:40:11 (GMT)
commitd8d33378ed06f1dfb5118a9b961d179e55420b44 (patch)
treef8c2ee1129c12518caf8aa2b75c0ba0ba3b04d62 /cache.h
parented45be76345454ab74454382953cb2de868c8cdb (diff)
parentc21919f1b25cf7008018e8724e92dc771057c268 (diff)
downloadgit-d8d33378ed06f1dfb5118a9b961d179e55420b44.zip
git-d8d33378ed06f1dfb5118a9b961d179e55420b44.tar.gz
git-d8d33378ed06f1dfb5118a9b961d179e55420b44.tar.bz2
Merge branch 'ab/repo-settings-cleanup'
Code cleanup. * ab/repo-settings-cleanup: repository.h: don't use a mix of int and bitfields repo-settings.c: simplify the setup read-cache & fetch-negotiator: check "enum" values in switch() environment.c: remove test-specific "ignore_untracked..." variable wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.c
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/cache.h b/cache.h
index 4a24b0c..3e5658c 100644
--- a/cache.h
+++ b/cache.h
@@ -1682,13 +1682,6 @@ int update_server_info(int);
const char *get_log_output_encoding(void);
const char *get_commit_output_encoding(void);
-/*
- * This is a hack for test programs like test-dump-untracked-cache to
- * ensure that they do not modify the untracked cache when reading it.
- * Do not use it otherwise!
- */
-extern int ignore_untracked_cache_config;
-
int committer_ident_sufficiently_given(void);
int author_ident_sufficiently_given(void);