aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-09-01 01:17:55 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-02 09:16:23 -0700
commit9bdf5277d5989d128469847b7b88ff20077e6d43 (patch)
tree0fac4301c2ee67ded0141ad216668cd4ffa5a1a9 /commit-graph.c
parentsubmodule--helper: use xstrfmt() in clone_submodule() (diff)
downloadgit-9bdf5277d5989d128469847b7b88ff20077e6d43.tar.gz
git-9bdf5277d5989d128469847b7b88ff20077e6d43.zip
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 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions