]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/mv duplicate string list memory
authorPatrick Steinhardt <ps@pks.im>
Mon, 27 May 2024 11:47:13 +0000 (13:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 May 2024 18:20:02 +0000 (11:20 -0700)
commit9fcd9e4e72ff2ef2b96379d8caf03429fea279eb
tree6a63b8f6d6d0a27c6a04aa9a8b89559df872eb8a
parent3d231f7b8236787252cb336878e3ace75c1df545
builtin/mv duplicate string list memory

makes the next patch easier, where we will migrate to the paths being
owned by a strvec. given that we are talking about command line
parameters here it's also not like we have tons of allocations that this
would save

while at it, fix a memory leak

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mv.c