summaryrefslogtreecommitdiff
path: root/tree-walk.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-01-18 15:16:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-18 15:16:43 -0800
commitc74f97a624f6a79767d2e2d55d98bab5e2b02f16 (patch)
tree4a28f82f00c00afba38a89c51452652ffc9a5a7d /tree-walk.c
parentMerge branch 'mh/maint-show-ref-doc' (diff)
parentdiff-index: enable recursive pathspec matching in unpack_trees (diff)
downloadtgif-c74f97a624f6a79767d2e2d55d98bab5e2b02f16.tar.xz
Merge branch 'nd/pathspec-recursion-cleanup'
* nd/pathspec-recursion-cleanup: diff-index: enable recursive pathspec matching in unpack_trees Document limited recursion pathspec matching with wildcards
Diffstat (limited to 'tree-walk.c')
-rw-r--r--tree-walk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree-walk.c b/tree-walk.c
index f82dba6a1f..492c7cd744 100644
--- a/tree-walk.c
+++ b/tree-walk.c
@@ -661,6 +661,9 @@ match_wildcards:
/*
* Match all directories. We'll try to match files
* later on.
+ * max_depth is ignored but we may consider support it
+ * in future, see
+ * http://thread.gmane.org/gmane.comp.version-control.git/163757/focus=163840
*/
if (ps->recursive && S_ISDIR(entry->mode))
return entry_interesting;