]> git.ipfire.org Git - thirdparty/git.git/commit
list-objects.c: rename "traverse_trees_and_blobs" to "traverse_non_commits"
authorTeng Long <dyroneteng@gmail.com>
Thu, 12 Aug 2021 08:59:31 +0000 (16:59 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Aug 2021 20:08:30 +0000 (13:08 -0700)
commitb3e36df0d4daa7ede26e0c7252564f43662778d6
treecfbc46c8a74b89c25818135f44d5493e5a6f5d17
parent5d213e46bb7b880238ff5ea3914e940a50ae9369
list-objects.c: rename "traverse_trees_and_blobs" to "traverse_non_commits"

Function `traverse_trees_and_blobs` not only works on trees and blobs,
but also on tags, the function name is somewhat misleading. This commit
rename it to `traverse_non_commits`.

Signed-off-by: Teng Long <dyroneteng@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
list-objects.c