summaryrefslogtreecommitdiff
path: root/ref-filter.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-08-31 23:17:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-09-02 16:16:23 (GMT)
commit9bdf5277d5989d128469847b7b88ff20077e6d43 (patch)
tree0fac4301c2ee67ded0141ad216668cd4ffa5a1a9 /ref-filter.c
parent21496b4c60b2327417c63fc9762096037a185be3 (diff)
downloadgit-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 'ref-filter.c')
0 files changed, 0 insertions, 0 deletions