From: Elijah Newren Date: Mon, 12 Aug 2019 17:17:47 +0000 (-0700) Subject: git-fast-import.txt: clarify that multiple merge commits are allowed X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d1387d389549fe6e1b97ad88a0f7dbf3afe96c16?ds=inline;hp=--cc git-fast-import.txt: clarify that multiple merge commits are allowed The grammar for commits used a '?' rather than a '*' on the `merge` directive line, despite the fact that the code allows multiple `merge` directives in order to support n-way merges. In fact, elsewhere in git-fast-import.txt there is an explicit declaration that "an unlimited number of `merge` commands per commit are permitted by fast-import". Fix the grammar to match the intent and implementation. Reported-by: Joachim Klein Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- d1387d389549fe6e1b97ad88a0f7dbf3afe96c16 diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt index d65cdb3d08..28b447a3e6 100644 --- a/Documentation/git-fast-import.txt +++ b/Documentation/git-fast-import.txt @@ -390,7 +390,7 @@ change to the project. 'committer' (SP )? SP LT GT SP LF data ('from' SP LF)? - ('merge' SP LF)? + ('merge' SP LF)* (filemodify | filedelete | filecopy | filerename | filedeleteall | notemodify)* LF? ....