Skip to content

Commit cdad3c5

Browse files
pcloudsgitster
authored andcommitted
git-read-tree.txt: acknowledge the directory matching bug in sparse checkout
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0edf06d commit cdad3c5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/git-read-tree.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,13 @@ turn `core.sparseCheckout` on in order to have sparse checkout
412412
support.
413413

414414

415+
BUGS
416+
----
417+
In order to match a directory with $GIT_DIR/info/sparse-checkout,
418+
trailing slash must be used. The form without trailing slash, while
419+
works with .gitignore, does not work with sparse checkout.
420+
421+
415422
SEE ALSO
416423
--------
417424
linkgit:git-write-tree[1]; linkgit:git-ls-files[1];

0 commit comments

Comments
 (0)