diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-06-03 11:18:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-03 11:18:54 -0700 |
commit | 4a787f72f504ae1429f24997a09ad6bac5cb4332 (patch) | |
tree | b016f675d72eaf82f1785a1a7d411470b94d93f5 /Documentation | |
parent | i18n: fix typos found during l10n for git 2.22.0 (diff) | |
parent | list-objects-filter: disable 'sparse:path' filters (diff) | |
download | tgif-4a787f72f504ae1429f24997a09ad6bac5cb4332.tar.xz |
Merge branch 'cc/list-objects-filter-wo-sparse-path'
Disable "--filter=sparse:path=<path>" that would allow reading from
paths on the filesystem.
* cc/list-objects-filter-wo-sparse-path:
list-objects-filter: disable 'sparse:path' filters
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rev-list-options.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index ddbc1de43f..71a1fcc093 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -725,9 +725,6 @@ specification contained in the blob (or blob-expression) '<blob-ish>' to omit blobs that would not be not required for a sparse checkout on the requested refs. + -The form '--filter=sparse:path=<path>' similarly uses a sparse-checkout -specification contained in <path>. -+ The form '--filter=tree:<depth>' omits all blobs and trees whose depth from the root tree is >= <depth> (minimum depth if an object is located at multiple depths in the commits traversed). <depth>=0 will not include @@ -737,6 +734,10 @@ tree and blobs which are referenced directly by a commit reachable from <commit> or an explicitly-given object. <depth>=2 is like <depth>=1 while also including trees and blobs one more level removed from an explicitly-given commit or tree. ++ +Note that the form '--filter=sparse:path=<path>' that wants to read +from an arbitrary path on the filesystem has been dropped for security +reasons. --no-filter:: Turn off any previous `--filter=` argument. |