summaryrefslogtreecommitdiff
path: root/builtin/ls-tree.c
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2011-09-21 09:48:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-21 15:05:53 -0700
commit1f1f575ebe194d2711f70bf7fc4e1ad9ae136112 (patch)
treebfabf8e827b0f436590a30c696da0e76712a7386 /builtin/ls-tree.c
parentgit-read-tree.txt: language and typography fixes (diff)
downloadtgif-1f1f575ebe194d2711f70bf7fc4e1ad9ae136112.tar.xz
git-read-tree.txt: correct sparse-checkout and skip-worktree description
The description of .git/info/sparse-checkout and skip-worktree is exactly the opposite of what is true, which is: If a file matches a pattern in sparse-checkout, then (it is to be checked out and therefore) skip-worktree is unset for that file; otherwise, it is set (so that it is not checked out). Currently, the opposite is documented, and (consistently) read-tree's behavior with respect to bit flips is descibed incorrectly. Fix it. In hindsight, it would have been much better to have a "sparse-ignore" or "sparse-skip" file so that an empty file would mean a full checkout, and the file logic would be analogous to that of .gitignore, excludes and skip-worktree. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/ls-tree.c')
0 files changed, 0 insertions, 0 deletions