From 73c522bc36331a4d0b007e9734945bdd8c600ebe Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Mon, 21 Dec 2020 12:23:53 +0100 Subject: [PATCH] doc: tags in tags ref has to match mr and user on server Signed-off-by: Frantisek Hrbata --- Documentation/git-mr-update.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/git-mr-update.txt b/Documentation/git-mr-update.txt index 3b36b43..4c98078 100644 --- a/Documentation/git-mr-update.txt +++ b/Documentation/git-mr-update.txt @@ -40,9 +40,9 @@ Following rules are enforced for each user reference. * The 'head' ref has to already exist for ''. * The 'head' and 'mr' ref have to be in the same user namespace. Meaning they have to be created by the same user. -* The commit it points to has to have the 'tag' file, which is in gimrr's format - for tags. -* The 'tag' file has to contain following tags: M, B, A, C, CC, AN, AE, AT. +* The commit it points to has to have the 'tags' file, which is in gimrr's + format for tags. +* The 'tags' file has to contain following tags: M, B, A, C, CC, AN, AE, AT. * 'A' tag value has to match user on the server. * 'M' tag value has to match rev the 'head' ref points to. * 'B' tag value has to be ancestor of 'A'. @@ -50,11 +50,14 @@ Following rules are enforced for each user reference. . 'refs/mrs///tags' * The 'head' ref has to already exist for ''. -* The commit it points to has to have the 'tag' file, which is in gimrr's format - for tags. -* The 'tag' file must not to contain following tags: M, B, A, C, CC, AN, AE, AT. +* The commit it points to has to have the 'tags' file, which is in gimrr's + format for tags. +* The 'tags' file must not to contain following tags: M, B, A, C, CC, AN, AE, + AT. * 'S' and 'D' tags can be set only by the MR author. Meaning only user with 'head' ref in his namespace can set these tags. +* MR referenced in the 'tags' file has match ''. +* User referenced in the 'tags' file has to match user on server. . 'refs/mrs///mbox' * The 'head' ref has to already exist for ''. -- 1.7.10.4