aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-09-01 01:18:01 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-02 09:16:24 -0700
commitaddda284cbcde90b8b541caf94f198ed2f6bd936 (patch)
treece389137e03218887c7520286a4348baaf797ce7 /commit-graph.c
parentsubmodule--helper: don't redundantly check "else if (res)" (diff)
downloadgit-addda284cbcde90b8b541caf94f198ed2f6bd936.tar.gz
git-addda284cbcde90b8b541caf94f198ed2f6bd936.zip
submodule--helper: rename "int res" to "int ret"
Rename the "res" variable added in b3c5f5cb048 (submodule: move core cmd_update() logic to C, 2022-03-15) to "ret", which is the convention in the rest of this file. Eventual follow-up commits will change the code in update_submodule() to a "goto cleanup" pattern, let's have the post image look consistent with the rest. For update_submodules() let's also use a "ret" for consistency, that use was also added in b3c5f5cb048. We'll be modifying that codepath in subsequent commits. 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