diff options
author | René Scharfe <l.s.r@web.de> | 2023-12-19 08:42:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-20 09:26:58 -0800 |
commit | 45184afb4d4a76a01483e086d9f0cf0af10a7286 (patch) | |
tree | 2612b3b1d5e5994f40188886f6bb48502cc3841d /builtin/commit.c | |
parent | 0d1bd1dfb37ef25e1911777c94129fc769ffec38 (diff) |
rebase: use strvec_pushf() for format-patch revisions
In run_am(), a strbuf is used to create a revision argument that is then
added to the argument list for git format-patch using strvec_push().
Use strvec_pushf() to add it directly instead, simplifying the code
and plugging a small leak on the error code path.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions