]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: git-http-push: describe the refs as pattern pairs
authorJean-Noël Avila <jn.avila@free.fr>
Sat, 6 Nov 2021 18:48:56 +0000 (19:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Nov 2021 17:39:11 +0000 (09:39 -0800)
Each member of the pair is explained but they are not defined
beforehand.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-http-push.txt

index 78f2bb75523aab3ea018ae588ca975d1c45514ee..7c6a6dd7f6a7fc9c75bf0ae595b12732d5c17765 100644 (file)
@@ -63,16 +63,15 @@ of such patterns separated by a colon ":" (this means that a ref name
 cannot have a colon in it).  A single pattern '<name>' is just a
 shorthand for '<name>:<name>'.
 
-Each pattern pair consists of the source side (before the colon)
-and the destination side (after the colon).  The ref to be
-pushed is determined by finding a match that matches the source
-side, and where it is pushed is determined by using the
-destination side.
+Each pattern pair '<src>:<dst>' consists of the source side (before
+the colon) and the destination side (after the colon).  The ref to be
+pushed is determined by finding a match that matches the source side,
+and where it is pushed is determined by using the destination side.
 
- - It is an error if <src> does not match exactly one of the
+ - It is an error if '<src>' does not match exactly one of the
    local refs.
 
- - If <dst> does not match any remote ref, either
+ - If '<dst>' does not match any remote ref, either
 
    * it has to start with "refs/"; <dst> is used as the
      destination literally in this case.