[PATCH] documentation: add missing word "ref"
- From
- Monika Kairaitytė via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Sep 29, 2024, 15:17 UTC
- Message-ID
- <pull.1803.git.1727623027242.gitgitgadget@gmail.com>
From: Monika Kairaityte <monika@kibit.lt>
In the git-fetch documentation, description of <refspec> syntax is not entirely clear. When explaining about "the destination ref <dst>", word "ref" is included. Logically, it should be the same in the explanation of "the source <src>".
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
---
documentation: add missing word "ref"Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1803%2Fmokibit%2Fdocs-add-missing-ref-word-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1803/mokibit/docs-add-missing-ref-word-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1803
Documentation/pull-fetch-param.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/pull-fetch-param.txt b/Documentation/pull-fetch-param.txt index c718f7946f0..066a35af9cd 100644 --- a/Documentation/pull-fetch-param.txt +++ b/Documentation/pull-fetch-param.txt @@ -24,7 +24,7 @@ ifdef::git-pull[] endif::git-pull[] + The format of a <refspec> parameter is an optional plus -`+`, followed by the source <src>, followed +`+`, followed by the source ref <src>, followed by a colon `:`, followed by the destination ref <dst>. The colon can be omitted when <dst> is empty. <src> is typically a ref, but it can also be a fully spelled hex object base-commit: 3857aae53f3633b7de63ad640737c657387ae0c6
-- gitgitgadget