summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-11 10:21:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-11 10:21:47 -0700
commitf6c075ad71237969b799f47faf9620d83b9fd04d (patch)
treeb3d7c6681e00a06fba46e47e18f796fecd529227 /cache.h
parentMerge branch 'ab/http-pinned-public-key-mismatch' (diff)
parentrefs: drop "broken" flag from for_each_fullref_in() (diff)
downloadtgif-f6c075ad71237969b799f47faf9620d83b9fd04d.tar.xz
Merge branch 'jk/ref-paranoia'
The ref iteration code used to optionally allow dangling refs to be shown, which has been tightened up. * jk/ref-paranoia: refs: drop "broken" flag from for_each_fullref_in() ref-filter: drop broken-ref code entirely ref-filter: stop setting FILTER_REFS_INCLUDE_BROKEN repack, prune: drop GIT_REF_PARANOIA settings refs: turn on GIT_REF_PARANOIA by default refs: omit dangling symrefs when using GIT_REF_PARANOIA refs: add DO_FOR_EACH_OMIT_DANGLING_SYMREFS flag refs-internal.h: reorganize DO_FOR_EACH_* flag documentation refs-internal.h: move DO_FOR_EACH_* flags next to each other t5312: be more assertive about command failure t5312: test non-destructive repack t5312: create bogus ref as necessary t5312: drop "verbose" helper t5600: provide detached HEAD for corruption failures t5516: don't use HEAD ref for invalid ref-deletion tests t7900: clean up some more broken refs
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cache.h b/cache.h
index 3e5658c6dd..1e2e6ee8cb 100644
--- a/cache.h
+++ b/cache.h
@@ -995,14 +995,6 @@ extern int core_apply_sparse_checkout;
extern int core_sparse_checkout_cone;
/*
- * Include broken refs in all ref iterations, which will
- * generally choke dangerous operations rather than letting
- * them silently proceed without taking the broken ref into
- * account.
- */
-extern int ref_paranoia;
-
-/*
* Returns the boolean value of $GIT_OPTIONAL_LOCKS (or the default value).
*/
int use_optional_locks(void);