Skip to contentSkip to conversation

git-read-tree.txt: acknowledge the directory matching bug in sparse checkout

PATCH New Nguyễn Thái Ngọc Duy 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-read-tree.txt: acknowledge the directory matching bug in sparse checkout

---
 Documentation/git-read-tree.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Documentation/git-read-tree.txt +7 -0
index f6037c4..2e78da4 100644
@@ -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];
Signature · 1 line
1.7.1.rc1.69.g24c2f7