# [PATCH] git-read-tree.txt: acknowledge the directory matching bug in sparse checkout

1 messages from 2010-07-25 to 2010-07-25. Participants: Nguyễn Thái Ngọc Duy.
Thread: https://gitlist.dev/t/24510

## Nguyễn Thái Ngọc Duy, 2010-07-25 09:30

Subject: [PATCH] git-read-tree.txt: acknowledge the directory matching bug in sparse checkout
Message-ID: <1280050232-22230-1-git-send-email-pclouds@gmail.com>
URL: https://gitlist.dev/e/1280050232-22230-1-git-send-email-pclouds%40gmail.com

```

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/git-read-tree.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt
index f6037c4..2e78da4 100644
--- a/Documentation/git-read-tree.txt
+++ b/Documentation/git-read-tree.txt
@@ -412,6 +412,13 @@ turn `core.sparseCheckout` on in order to have sparse checkout
 support.
 
 
+BUGS
+----
+In order to match a directory with $GIT_DIR/info/sparse-checkout,
+trailing slash must be used. The form without trailing slash, while
+works with .gitignore, does not work with sparse checkout.
+
+
 SEE ALSO
 --------
 linkgit:git-write-tree[1]; linkgit:git-ls-files[1];
-- 
1.7.1.rc1.69.g24c2f7

```
