From: Nguyễn Thái Ngọc Duy Date: Sun, 25 Jul 2010 09:30:32 +0000 (+0700) Subject: git-read-tree.txt: acknowledge the directory matching bug in sparse checkout X-Git-Tag: v1.7.2.1~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cdad3c54f1020b0b1c0d2d907748f77a60b41a28?ds=inline;hp=--cc git-read-tree.txt: acknowledge the directory matching bug in sparse checkout Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- cdad3c54f1020b0b1c0d2d907748f77a60b41a28 diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt index f6037c4f6a..2e78da448f 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];