summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-22 18:11:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-22 18:11:40 (GMT)
commitde0d774d46b3731ea22567efc4aaf1fc8f5ac919 (patch)
tree68eac5271a875809dd3f0da358d0901f267c882c /Documentation
parent703319313fc2878c0c28ccc14a488024e8687fc2 (diff)
parent08d595dc1cdf6f0d8e6022a69c4fcdd2fba628cf (diff)
downloadgit-de0d774d46b3731ea22567efc4aaf1fc8f5ac919.zip
git-de0d774d46b3731ea22567efc4aaf1fc8f5ac919.tar.gz
git-de0d774d46b3731ea22567efc4aaf1fc8f5ac919.tar.bz2
Merge branch 'nd/checkout-keep-sparse'
Make the initial "sparse" selection of the paths more sticky across "git checkout". * nd/checkout-keep-sparse: checkout: add --ignore-skip-worktree-bits in sparse checkout mode
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-checkout.txt6
-rw-r--r--Documentation/gitrepository-layout.txt4
2 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index 8edcdca..23a9413 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -180,6 +180,12 @@ branch by running "git rm -rf ." from the top level of the working tree.
Afterwards you will be ready to prepare your new files, repopulating the
working tree, by copying them from elsewhere, extracting a tarball, etc.
+--ignore-skip-worktree-bits::
+ In sparse checkout mode, `git checkout -- <paths>` would
+ update only entries matched by <paths> and sparse patterns
+ in $GIT_DIR/info/sparse-checkout. This option ignores
+ the sparse patterns and adds back any files in <paths>.
+
-m::
--merge::
When switching branches,
diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt
index 2ad09f4..d6f3393 100644
--- a/Documentation/gitrepository-layout.txt
+++ b/Documentation/gitrepository-layout.txt
@@ -184,6 +184,10 @@ info/exclude::
'git clean' look at it but the core Git commands do not look
at it. See also: linkgit:gitignore[5].
+info/sparse-checkout::
+ This file stores sparse checkout patterns.
+ See also: linkgit:git-read-tree[1].
+
remotes::
Stores shorthands for URL and default refnames for use
when interacting with remote repositories via 'git fetch',