Message ID | 2fcff7e0d40255e0be9496647787352dd0aeb784.1641440700.git.dyroneteng@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4e4566f67e9433b7b0f475c4f16e1fe77fb527f4 |
Headers | show |
Series | ls-tree.c: introduce "--format" option | expand |
diff --git a/builtin/ls-tree.c b/builtin/ls-tree.c index 3a442631c7..5f7c84950c 100644 --- a/builtin/ls-tree.c +++ b/builtin/ls-tree.c @@ -69,15 +69,6 @@ static int show_tree(const struct object_id *oid, struct strbuf *base, const char *type = blob_type; if (S_ISGITLINK(mode)) { - /* - * Maybe we want to have some recursive version here? - * - * Something similar to this incomplete example: - * - if (show_subprojects(base, baselen, pathname)) - retval = READ_TREE_RECURSIVE; - * - */ type = commit_type; } else if (S_ISDIR(mode)) { if (show_recursive(base->buf, base->len, pathname)) {