ls-tree: remove commented-out code
Remove code added inmaintf35a6d3bce
(Teach core object handling functions about gitlinks, 2007-04-09), later patched in7d0b18a4da
(Add output flushing before fork(), 2008-08-04), and then finally ending up in its current form ind3bee161fe
(tree.c: allow read_tree_recursive() to traverse gitlink entries, 2009-01-25). All while being commented-out! Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
parent
a53343e0fd
commit
4e4566f67e
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue