diff options
author | Elijah Newren <newren@gmail.com> | 2024-11-04 20:02:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-05 07:53:23 +0100 |
commit | 00e10e075100a1c84549c4463a05837f215d91c0 (patch) | |
tree | 4c9a86fa9f9bdc4b93081a4a2d4c3baf6972df5b /archive.h | |
parent | upload-pack: fix ambiguous error message (diff) | |
download | git-00e10e075100a1c84549c4463a05837f215d91c0.tar.xz git-00e10e075100a1c84549c4463a05837f215d91c0.zip |
doc: correct misleading descriptions for --shallow-exclude
The documentation for the --shallow-exclude option to clone/fetch/etc.
claims that the option takes a revision, but it does not. As per
upload-pack.c's process_deepen_not(), it passes the option to
expand_ref() and dies if it does not find exactly one ref matching the
name passed. Further, this has always been the case ever since these
options were introduced by the commits merged in a460ea4a3cb1 (Merge
branch 'nd/shallow-deepen', 2016-10-10). Fix the documentation to
match the implementation.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
0 files changed, 0 insertions, 0 deletions