diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-11 19:21:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-11 19:21:47 +0200 |
commit | f6c075ad71237969b799f47faf9620d83b9fd04d (patch) | |
tree | b3d7c6681e00a06fba46e47e18f796fecd529227 /revision.c | |
parent | Merge branch 'ab/http-pinned-public-key-mismatch' (diff) | |
parent | refs: drop "broken" flag from for_each_fullref_in() (diff) | |
download | git-f6c075ad71237969b799f47faf9620d83b9fd04d.tar.xz git-f6c075ad71237969b799f47faf9620d83b9fd04d.zip |
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 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c index 7e7c41fedd..3ad217f2ff 100644 --- a/revision.c +++ b/revision.c @@ -2548,7 +2548,7 @@ static int for_each_bisect_ref(struct ref_store *refs, each_ref_fn fn, struct strbuf bisect_refs = STRBUF_INIT; int status; strbuf_addf(&bisect_refs, "refs/bisect/%s", term); - status = refs_for_each_fullref_in(refs, bisect_refs.buf, fn, cb_data, 0); + status = refs_for_each_fullref_in(refs, bisect_refs.buf, fn, cb_data); strbuf_release(&bisect_refs); return status; } |