summaryrefslogtreecommitdiff
path: root/t/t9139-git-svn-non-utf8-commitencoding.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-27 13:46:15 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-27 11:19:59 -0700
commit6073b3b5c37716c50244d635e7c358f41f43e286 (patch)
tree6d3663eeb79e31b729d5a51ef9028ccb58848d3e /t/t9139-git-svn-non-utf8-commitencoding.sh
parentf962ffc392fe1831d047a10a28a55710d987d746 (diff)
config: clarify memory ownership in `git_config_pathname()`
The out parameter of `git_config_pathname()` is a `const char **` even though we transfer ownership of memory to the caller. This is quite misleading and has led to many memory leaks all over the place. Adapt the parameter to instead be `char **`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9139-git-svn-non-utf8-commitencoding.sh')
0 files changed, 0 insertions, 0 deletions