Skip to content

Commit

Permalink
documentation: Add missing word "ref"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mokibit committed Sep 29, 2024
1 parent 3857aae commit 0db78ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/pull-fetch-param.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0db78ac

Please sign in to comment.