diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-08-31 23:17:55 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-02 16:16:23 (GMT) |
commit | 9bdf5277d5989d128469847b7b88ff20077e6d43 (patch) | |
tree | 0fac4301c2ee67ded0141ad216668cd4ffa5a1a9 /notes.h | |
parent | 21496b4c60b2327417c63fc9762096037a185be3 (diff) | |
download | git-9bdf5277d5989d128469847b7b88ff20077e6d43.zip git-9bdf5277d5989d128469847b7b88ff20077e6d43.tar.gz git-9bdf5277d5989d128469847b7b88ff20077e6d43.tar.bz2 |
submodule--helper: move "sb" in clone_submodule() to its own scope
Refactor the only remaining use of a "struct strbuf sb" in
clone_submodule() to live in its own scope. This makes the code
clearer by limiting its lifetime.
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 'notes.h')
0 files changed, 0 insertions, 0 deletions