aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-01-10 11:52:50 -0800
committerJunio C Hamano <gitster@pobox.com>2022-01-10 11:52:50 -0800
commit3c0e4178277dee1cdc4607d7277a368379b12b3f (patch)
treead35aa7ebb2a24932c57bc053bf6b6227ce6bb48 /Documentation
parentb48c69c3c8a0e6e44f31c70677ac40658d8f3439 (diff)
parent408c51f0b4b5f978ab3676a7dc8efaffe459bdee (diff)
downloadgit-3c0e4178277dee1cdc4607d7277a368379b12b3f.tar.xz
Merge branch 'ds/fetch-pull-with-sparse-index'
"git fetch" and "git pull" are now declared sparse-index clean. Also "git ls-files" learns the "--sparse" option to help debugging. * ds/fetch-pull-with-sparse-index: test-read-cache: remove --table, --expand options t1091/t3705: remove 'test-tool read-cache --table' t1092: replace 'read-cache --table' with 'ls-files --sparse' ls-files: add --sparse option fetch/pull: use the sparse index
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-ls-files.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 2e3d695fa2..48cc7c0b6f 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -187,6 +187,11 @@ Both the <eolinfo> in the index ("i/<eolinfo>")
and in the working tree ("w/<eolinfo>") are shown for regular files,
followed by the ("attr/<eolattr>").
+--sparse::
+ If the index is sparse, show the sparse directories without expanding
+ to the contained files. Sparse directories will be shown with a
+ trailing slash, such as "x/" for a sparse directory "x".
+
\--::
Do not interpret any more arguments as options.