git/t/helper
Patrick Steinhardt a53144cf1b t/helper: stop re-initialization of `the_repository`
While "common-main.c" already initializes `the_repository` for us, we do
so a second time in the "read-cache" test helper. This causes a memory
leak because the old repository's contents isn't released.

Stop calling `initialize_repository()` to plug this leak.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-11-04 22:37:56 -08: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 config: make dependency on repo in `read_early_config()` explicit 2024-09-12 10:15:40 -07:00
test-crontab.c
test-csprng.c
test-date.c
test-delete-gpgsig.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-tap.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
test-fake-ssh.c
test-find-pack.c
test-fsmonitor-client.c
test-genrandom.c
test-genzeros.c
test-getcwd.c
test-hash-speed.c
test-hash.c
test-hashmap.c t/helper: mark more unused argv/argc arguments 2024-08-17 09:46:11 -07:00
test-hexdump.c
test-json-writer.c
test-lazy-init-name-hash.c
test-match-trees.c
test-mergesort.c test-mergesort: mark unused parameters in trivial callback 2024-08-17 09:46:23 -07:00
test-mktemp.c
test-online-cpus.c
test-pack-mtimes.c
test-parse-options.c
test-parse-pathspec-file.c
test-partial-clone.c t/helper: fix leaking repository in partial-clone helper 2024-09-30 11:23:05 -07:00
test-path-utils.c Merge branch 'ps/environ-wo-the-repository' 2024-09-23 10:35:05 -07:00
test-pcre2-config.c
test-pkt-line.c
test-proc-receive.c t/helper: fix leaks in proc-receive helper 2024-09-30 11:23:08 -07:00
test-progress.c drop trailing newline from warning/error/die messages 2024-09-05 09:07:12 -07:00
test-reach.c t/helper: fix leaks in "reach" test tool 2024-11-04 22:37:51 -08:00
test-read-cache.c t/helper: stop re-initialization of `the_repository` 2024-11-04 22:37:56 -08:00
test-read-graph.c
test-read-midx.c t/helper: fix leaking multi-pack-indices in "read-midx" 2024-08-22 09:18:05 -07:00
test-ref-store.c
test-reftable.c reftable/merged: handle allocation failures in `merged_table_init_iter()` 2024-10-02 07:53:53 -07:00
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-string-list.c
test-submodule-config.c
test-submodule-nested-repo-config.c t/helper: fix leaking subrepo in nested submodule config helper 2024-09-27 08:25:35 -07:00
test-submodule.c
test-subprocess.c
test-tool-utils.h
test-tool.c Merge branch 'cp/unit-test-reftable-stack' 2024-09-16 14:22:53 -07:00
test-tool.h Merge branch 'cp/unit-test-reftable-stack' 2024-09-16 14:22:53 -07:00
test-trace2.c
test-truncate.c
test-userdiff.c
test-wildmatch.c
test-windows-named-pipe.c
test-write-cache.c
test-xml-encode.c