summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-06 13:40:11 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-06 13:40:11 -0700
commitd8d33378ed06f1dfb5118a9b961d179e55420b44 (patch)
treef8c2ee1129c12518caf8aa2b75c0ba0ba3b04d62 /cache.h
parentMerge branch 'jk/grep-haystack-is-read-only' (diff)
parentrepository.h: don't use a mix of int and bitfields (diff)
downloadtgif-d8d33378ed06f1dfb5118a9b961d179e55420b44.tar.xz
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 4a24b0ce1d..3e5658c6dd 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);