git/t/helper
Jeff King b9f7daa6ef ref-filter.h: provide REF_FILTER_INIT
Provide a sane initialization value for `struct ref_filter`, which in a
subsequent patch will be used to initialize a new field.

In the meantime, ensure that the `ref_filter` struct used in the
test-helper's `cmd__reach()` is zero-initialized. The lack of
initialization is OK, since `commit_contains()` only looks at the single
`with_commit_tag_algo` field that *is* initialized directly above.

So this does not fix a bug, but rather prevents one from biting us in
the future.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-07-10 14:48:55 -07:00
..
.gitignore
test-advise.c
test-bitmap.c
test-bloom.c
test-bundle-uri.c
test-cache-tree.c
test-chmtime.c
test-config.c
test-crontab.c
test-csprng.c
test-ctype.c Merge branch 'rs/test-ctype-eof' 2023-05-10 10:23:27 -07:00
test-date.c
test-delta.c
test-dir-iterator.c
test-drop-caches.c
test-dump-cache-tree.c
test-dump-fsmonitor.c
test-dump-split-index.c
test-dump-untracked-cache.c
test-env-helper.c
test-example-decorate.c
test-fake-ssh.c
test-fast-rebase.c
test-fsmonitor-client.c
test-genrandom.c
test-genzeros.c
test-getcwd.c
test-hash-speed.c
test-hash.c
test-hashmap.c
test-hexdump.c
test-index-version.c
test-json-writer.c
test-lazy-init-name-hash.c
test-match-trees.c
test-mergesort.c
test-mktemp.c
test-oid-array.c
test-oidmap.c
test-oidtree.c
test-online-cpus.c
test-pack-mtimes.c
test-parse-options.c
test-parse-pathspec-file.c
test-partial-clone.c
test-path-utils.c
test-pcre2-config.c
test-pkt-line.c
test-prio-queue.c
test-proc-receive.c
test-progress.c
test-reach.c ref-filter.h: provide REF_FILTER_INIT 2023-07-10 14:48:55 -07:00
test-read-cache.c
test-read-graph.c
test-read-midx.c
test-ref-store.c
test-reftable.c
test-regex.c
test-repository.c
test-revision-walking.c
test-rot13-filter.c
test-run-command.c
test-scrap-cache-tree.c
test-serve-v2.c
test-sha1.c
test-sha1.sh
test-sha256.c
test-sigchain.c
test-simple-ipc.c
test-strcmp-offset.c
test-string-list.c
test-submodule-config.c
test-submodule-nested-repo-config.c
test-submodule.c
test-subprocess.c
test-tool-utils.h
test-tool.c
test-tool.h
test-trace2.c
test-urlmatch-normalization.c
test-userdiff.c
test-wildmatch.c
test-windows-named-pipe.c
test-write-cache.c
test-xml-encode.c