Skip to content

Commit 6ae7e88

Browse files
jnavilagitster
authored andcommitted
doc: git-http-push: describe the refs as pattern pairs
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>
1 parent 7706294 commit 6ae7e88

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Documentation/git-http-push.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,15 @@ of such patterns separated by a colon ":" (this means that a ref name
6363
cannot have a colon in it). A single pattern '<name>' is just a
6464
shorthand for '<name>:<name>'.
6565

66-
Each pattern pair consists of the source side (before the colon)
67-
and the destination side (after the colon). The ref to be
68-
pushed is determined by finding a match that matches the source
69-
side, and where it is pushed is determined by using the
70-
destination side.
66+
Each pattern pair '<src>:<dst>' consists of the source side (before
67+
the colon) and the destination side (after the colon). The ref to be
68+
pushed is determined by finding a match that matches the source side,
69+
and where it is pushed is determined by using the destination side.
7170

72-
- It is an error if <src> does not match exactly one of the
71+
- It is an error if '<src>' does not match exactly one of the
7372
local refs.
7473

75-
- If <dst> does not match any remote ref, either
74+
- If '<dst>' does not match any remote ref, either
7675

7776
* it has to start with "refs/"; <dst> is used as the
7877
destination literally in this case.

0 commit comments

Comments
 (0)