git/t/helper
Patrick Steinhardt 14da26230a parse-options: fix leaks for users of OPT_FILENAME
The `OPT_FILENAME()` option will, if set, put an allocated string into
the user-provided variable. Consequently, that variable thus needs to be
free'd by the caller of `parse_options()`. Some callsites don't though
and thus leak memory. Fix those.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-06-11 13:15:04 -07:00
..
.gitignore
test-advise.c
test-bitmap.c
test-bloom.c test-bloom: stop setting up Git directory twice 2023-11-07 08:51:40 +09:00
test-bundle-uri.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
test-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-chmtime.c
test-config.c
test-crontab.c
test-csprng.c
test-date.c date: make DATE_MODE thread-safe 2024-04-05 15:21:14 -07:00
test-delete-gpgsig.c t1016-compatObjectFormat: add tests to verify the conversion between objects 2023-10-02 14:57:40 -07:00
test-delta.c
test-dir-iterator.c
test-drop-caches.c
test-dump-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-dump-fsmonitor.c
test-dump-split-index.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-dump-untracked-cache.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-env-helper.c parse: separate out parsing functions from config.h 2023-09-29 15:14:57 -07:00
test-example-decorate.c decorate: add clear_decoration() function 2023-10-05 14:54:55 -07:00
test-example-tap.c t0080: turn t-basic unit test into a helper 2024-05-06 14:06:34 -07:00
test-fake-ssh.c
test-find-pack.c t/helper: add 'find-pack' test-tool 2023-10-02 14:54:29 -07:00
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-json-writer.c
test-lazy-init-name-hash.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
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 parse-options: fix leaks for users of OPT_FILENAME 2024-06-11 13:15:04 -07:00
test-parse-pathspec-file.c
test-partial-clone.c
test-path-utils.c Merge branch 'fixes/2.45.1/2.41' into fixes/2.45.1/2.42 2024-05-24 16:57:43 -07:00
test-pcre2-config.c
test-pkt-line.c Merge branch 'jx/sideband-chomp-newline-fix' into maint-2.43 2024-02-08 16:22:11 -08:00
test-proc-receive.c
test-progress.c
test-reach.c refs: pass repo when peeling objects 2024-05-17 10:33:39 -07:00
test-read-cache.c repository: drop `initialize_the_repository()` 2024-04-18 12:30:43 -07:00
test-read-graph.c
test-read-midx.c midx: implement `midx_preferred_pack()` 2023-12-14 14:38:08 -08:00
test-ref-store.c Merge branch 'ps/refs-without-the-repository-updates' 2024-05-30 14:15:13 -07:00
test-reftable.c reftable: remove name checks 2024-04-08 17:01:41 -07:00
test-regex.c doc: switch links to https 2023-11-26 10:07:05 +09:00
test-repository.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:33 -08:00
test-revision-walking.c
test-rot13-filter.c
test-run-command.c test-tool run-command testsuite: support unit tests 2024-05-06 14:06:34 -07:00
test-scrap-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-serve-v2.c
test-sha1.c
test-sha1.sh
test-sha256.c
test-sigchain.c
test-simple-ipc.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
test-string-list.c
test-submodule-config.c
test-submodule-nested-repo-config.c
test-submodule.c Merge branch 'vd/fsck-submodule-url-test' 2024-01-26 08:54:47 -08:00
test-subprocess.c
test-tool-utils.h
test-tool.c t/: port helper/test-strcmp-offset.c to unit-tests/t-strcmp-offset.c 2024-05-20 13:39:49 -07:00
test-tool.h t/: port helper/test-strcmp-offset.c to unit-tests/t-strcmp-offset.c 2024-05-20 13:39:49 -07:00
test-trace2.c Merge branch 'jh/trace2-redact-auth' into maint-2.43 2024-02-08 16:22:01 -08:00
test-truncate.c t: add a test helper to truncate files 2023-10-13 13:33:35 -07:00
test-urlmatch-normalization.c
test-userdiff.c
test-wildmatch.c
test-windows-named-pipe.c
test-write-cache.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-xml-encode.c