diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-08-31 23:17:54 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-02 16:16:23 (GMT) |
commit | 21496b4c60b2327417c63fc9762096037a185be3 (patch) | |
tree | 37100d24ff2bf9bec8e4c32e2cf6d3fa1c41c8ec /merge-blobs.h | |
parent | 4b82d75b51eec202dc3d2b64e8de2ad9cb52d638 (diff) | |
download | git-21496b4c60b2327417c63fc9762096037a185be3.zip git-21496b4c60b2327417c63fc9762096037a185be3.tar.gz git-21496b4c60b2327417c63fc9762096037a185be3.tar.bz2 |
submodule--helper: use xstrfmt() in clone_submodule()
Use xstrfmt() in clone_submodule() instead of a "struct strbuf" in two
cases where we weren't getting anything out of using the "struct
strbuf".
This changes code that was was added along with other uses of "struct
strbuf" in this function in ee8838d1577 (submodule: rewrite
`module_clone` shell function in C, 2015-09-08).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.h')
0 files changed, 0 insertions, 0 deletions