git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] documentation: add missing word "ref"

From
MGMonika 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
Next: Junio C Hamano
Message 1 of 3 in “documentation: add missing word "ref"”
  1. documentation: add missing word "ref"Monika Kairaitytė via GitGitGadget, Sep 29, 2024
  2. Junio C HamanoOct 1, 2024
  3. Monika KairaityteOct 9, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.