diff --git a/builtin-ls-tree.c b/builtin-ls-tree.c
index ccba2aa8e1a635f14650e5ee0d91298593c300bc..cb4be4fabb84bafd5518e81d2fd0ed6ee191641c 100644 (file)
--- a/builtin-ls-tree.c
+++ b/builtin-ls-tree.c
const char *type = blob_type;
unsigned long size;
- if (S_ISDIRLNK(mode)) {
+ if (S_ISGITLINK(mode)) {
/*
* Maybe we want to have some recursive version here?
*