diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2011-09-21 09:48:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-21 15:05:53 -0700 |
commit | 1f1f575ebe194d2711f70bf7fc4e1ad9ae136112 (patch) | |
tree | bfabf8e827b0f436590a30c696da0e76712a7386 /contrib | |
parent | git-read-tree.txt: language and typography fixes (diff) | |
download | tgif-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 'contrib')
0 files changed, 0 insertions, 0 deletions