From: Jean-Noël Avila via GitGitGadget Date: Thu, 28 Oct 2021 16:22:03 GMT Subject: [PATCH v2 8/9] doc: git-http-push: describe the refs as pattern pairs Message-ID: <20900b019f835e9293fb5d70ae8dbdced3b781c0.1635438124.git.gitgitgadget@gmail.com> In-Reply-To: From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= Each member of the pair is explained but they are not defined beforehand. Signed-off-by: Jean-Noël Avila --- Documentation/git-http-push.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Documentation/git-http-push.txt b/Documentation/git-http-push.txt index 78f2bb75523..7c6a6dd7f6a 100644 --- a/Documentation/git-http-push.txt +++ b/Documentation/git-http-push.txt @@ -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 '' is just a shorthand for ':'. -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 ':' 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 does not match exactly one of the + - It is an error if '' does not match exactly one of the local refs. - - If does not match any remote ref, either + - If '' does not match any remote ref, either * it has to start with "refs/"; is used as the destination literally in this case. -- gitgitgadget