]> Kevux Git Server - rit/commit
ls-tree: rename "retval" to "recurse" in "show_tree()"
authorTeng Long <dyroneteng@gmail.com>
Wed, 23 Mar 2022 09:13:06 +0000 (17:13 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 18:38:39 +0000 (11:38 -0700)
commit889f78383eb1e93663ad38a231607e04a1593713
treef5c69735312cda2a6da4948cb173787fa2e50f62
parent132ceda40f5fe6e53ff7189a941f7e77a165cb7e
ls-tree: rename "retval" to "recurse" in "show_tree()"

The variable which "show_tree()" return is named "retval", a name that's
a little hard to understand. The commit rename "retval" to "recurse"
which is a more meaningful name than before in the context. We do not
need to take a look at "read_tree_at()" in "tree.c" to make sure what
does "retval" mean.

Signed-off-by: Teng Long <dyroneteng@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-tree.c