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

[PATCH 1/2] pull doc: refer to a specific section in 'fetch' doc

From
Philippe Blain via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 5, 2020, 15:50 UTC
Message-ID
<9c94c2770f0eb1cbb9383cffde7c275d7d3f52c9.1586101819.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.751.git.git.1586101819.gitgitgadget@gmail.com>
From: Philippe Blain <levraiphilippeblain@gmail.com>

The documentation for the `<refspec>` parameter in the `git fetch` documentation refers to the section "CONFIGURED REMOTE-TRACKING BRANCHES" in this same documentation page.

In the `git pull` documentation, let's also refer specifically to this section instead of just linking to the `git fetch` documentation.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
---
 Documentation/pull-fetch-param.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/pull-fetch-param.txt b/Documentation/pull-fetch-param.txt
index 7d3a60f5b93..95ea8499029 100644
--- a/Documentation/pull-fetch-param.txt
+++ b/Documentation/pull-fetch-param.txt
@@ -19,7 +19,8 @@ ifndef::git-pull[]
 	(see <<CRTB,CONFIGURED REMOTE-TRACKING BRANCHES>> below).
 endif::git-pull[]
 ifdef::git-pull[]
-	(see linkgit:git-fetch[1]).
+	(see the section "CONFIGURED REMOTE-TRACKING BRANCHES"
+	in linkgit:git-fetch[1]).
 endif::git-pull[]
 +
 The format of a <refspec> parameter is an optional plus
-- 
gitgitgadget
Previous: Philippe Blain via GitGitGadgetNext: Jeff King
Message 2 of 6 in “git-pull.txt: correct outdated example + link to specific 'git fetch' section”
  1. 0/2 git-pull.txt: correct outdated example + link to specific 'git fetch' sectionPhilippe Blain via GitGitGadget, Apr 5, 2020
  2. 1/2 pull doc: refer to a specific section in 'fetch' docPhilippe Blain via GitGitGadget, Apr 5, 2020
  3. Jeff KingApr 6, 2020
  4. Philippe BlainApr 16, 2020
  5. 2/2 pull doc: correct outdated description of an examplePhilippe Blain via GitGitGadget, Apr 5, 2020
  6. Jeff KingApr 6, 2020

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.