docs(proto): a squash commit takes the tree of the merge into the target
2 files · +6 -4
M gen/ermite/types.pb.go +3 -2
| @@ -39,8 +39,9 @@ const ( | |||
| 39 | 39 | // The target branch moves to the head. No commit is created and the | |
| 40 | 40 | // signatures of the branch's commits are kept. | |
| 41 | 41 | MergeMode_MERGE_MODE_FAST_FORWARD MergeMode = 1 | |
| 42 | - | // One new commit is created with the tree of the head and the target as | |
| 43 | - | // only parent, signed by the server's key (see ServerService.GetSigningKey). | |
| 42 | + | // One new commit is created with the tree of the merge of the head into the | |
| 43 | + | // target (the tree of the head when the target is its ancestor) and the | |
| 44 | + | // target tip as only parent, signed by the server's key (see ServerService.GetSigningKey). | |
| 44 | 45 | // Its author is the author of the first commit of the branch, the other | |
| 45 | 46 | // authors are added as "Co-authored-by:" trailers, and its message is the | |
| 46 | 47 | // title, " (!<number>)", a blank line and the list of the squashed commits' | |
| @@ -39,8 +39,9 @@ const ( | |||||
| 39 | // The target branch moves to the head. No commit is created and the | 39 | // The target branch moves to the head. No commit is created and the | ||
| 40 | // signatures of the branch's commits are kept. | 40 | // signatures of the branch's commits are kept. | ||
| 41 | MergeMode_MERGE_MODE_FAST_FORWARD MergeMode = 1 | 41 | MergeMode_MERGE_MODE_FAST_FORWARD MergeMode = 1 | ||
| 42 | - | // One new commit is created with the tree of the head and the target as | 42 | + | // One new commit is created with the tree of the merge of the head into the |
| 43 | - | // only parent, signed by the server's key (see ServerService.GetSigningKey). | 43 | + | // target (the tree of the head when the target is its ancestor) and the |
| 44 | + | // target tip as only parent, signed by the server's key (see ServerService.GetSigningKey). | |||
| 44 | // Its author is the author of the first commit of the branch, the other | 45 | // Its author is the author of the first commit of the branch, the other | ||
| 45 | // authors are added as "Co-authored-by:" trailers, and its message is the | 46 | // authors are added as "Co-authored-by:" trailers, and its message is the | ||
| 46 | // title, " (!<number>)", a blank line and the list of the squashed commits' | 47 | // title, " (!<number>)", a blank line and the list of the squashed commits' | ||
M proto/ermite/types.proto +3 -2
| @@ -53,8 +53,9 @@ enum MergeMode { | |||
| 53 | 53 | // The target branch moves to the head. No commit is created and the | |
| 54 | 54 | // signatures of the branch's commits are kept. | |
| 55 | 55 | MERGE_MODE_FAST_FORWARD = 1; | |
| 56 | - | // One new commit is created with the tree of the head and the target as | |
| 57 | - | // only parent, signed by the server's key (see ServerService.GetSigningKey). | |
| 56 | + | // One new commit is created with the tree of the merge of the head into the | |
| 57 | + | // target (the tree of the head when the target is its ancestor) and the | |
| 58 | + | // target tip as only parent, signed by the server's key (see ServerService.GetSigningKey). | |
| 58 | 59 | // Its author is the author of the first commit of the branch, the other | |
| 59 | 60 | // authors are added as "Co-authored-by:" trailers, and its message is the | |
| 60 | 61 | // title, " (!<number>)", a blank line and the list of the squashed commits' | |
| @@ -53,8 +53,9 @@ enum MergeMode { | |||||
| 53 | // The target branch moves to the head. No commit is created and the | 53 | // The target branch moves to the head. No commit is created and the | ||
| 54 | // signatures of the branch's commits are kept. | 54 | // signatures of the branch's commits are kept. | ||
| 55 | MERGE_MODE_FAST_FORWARD = 1; | 55 | MERGE_MODE_FAST_FORWARD = 1; | ||
| 56 | - | // One new commit is created with the tree of the head and the target as | 56 | + | // One new commit is created with the tree of the merge of the head into the |
| 57 | - | // only parent, signed by the server's key (see ServerService.GetSigningKey). | 57 | + | // target (the tree of the head when the target is its ancestor) and the |
| 58 | + | // target tip as only parent, signed by the server's key (see ServerService.GetSigningKey). | |||
| 58 | // Its author is the author of the first commit of the branch, the other | 59 | // Its author is the author of the first commit of the branch, the other | ||
| 59 | // authors are added as "Co-authored-by:" trailers, and its message is the | 60 | // authors are added as "Co-authored-by:" trailers, and its message is the | ||
| 60 | // title, " (!<number>)", a blank line and the list of the squashed commits' | 61 | // title, " (!<number>)", a blank line and the list of the squashed commits' | ||