-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(body): surround body with
message
node (#4)
Ref: #3
- Loading branch information
Showing
10 changed files
with
2,166 additions
and
1,967 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+696 Bytes
(100%)
build/Release/obj.target/tree_sitter_gitcommit_binding/src/parser.o
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,8 @@ this is a simple subject | |
|
||
(source | ||
(subject) | ||
(comment)) | ||
(message | ||
(comment))) | ||
|
||
================================================================================ | ||
Empty file w/ comments | ||
|
@@ -32,7 +33,8 @@ Empty file w/ comments | |
-------------------------------------------------------------------------------- | ||
|
||
(source | ||
(comment)) | ||
(message | ||
(comment))) | ||
|
||
================================================================================ | ||
Empty file w/ empty comment | ||
|
@@ -43,7 +45,8 @@ Empty file w/ empty comment | |
-------------------------------------------------------------------------------- | ||
|
||
(source | ||
(comment)) | ||
(message | ||
(comment))) | ||
|
||
================================================================================ | ||
Multiline body | ||
|
@@ -58,8 +61,6 @@ And a paragraph. | |
|
||
(source | ||
(subject) | ||
(message) | ||
(message) | ||
(message)) | ||
|
||
================================================================================ | ||
|
@@ -77,10 +78,6 @@ test(trailer): test | |
|
||
(source | ||
(subject) | ||
(message) | ||
(message) | ||
(message) | ||
(message) | ||
(message)) | ||
|
||
================================================================================ | ||
|
@@ -93,9 +90,10 @@ Signed-by: gbprod <[email protected]> | |
|
||
(source | ||
(subject) | ||
(trailer | ||
(token) | ||
(value))) | ||
(message | ||
(trailer | ||
(token) | ||
(value)))) | ||
|
||
================================================================================ | ||
Multiple trailers | ||
|
@@ -112,21 +110,22 @@ Suggested-by: Toto | |
|
||
(source | ||
(subject) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value))) | ||
(message | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)))) | ||
|
||
================================================================================ | ||
Mixed | ||
|
@@ -146,18 +145,16 @@ And go on | |
|
||
(source | ||
(subject) | ||
(message) | ||
(trailer | ||
(token) | ||
(value)) | ||
(message) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(message)) | ||
(message | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)) | ||
(trailer | ||
(token) | ||
(value)))) | ||
|
||
================================================================================ | ||
BREAKING CHANGE | ||
|
@@ -170,7 +167,7 @@ BREAKING CHANGE: My message | |
-------------------------------------------------------------------------------- | ||
|
||
(source | ||
(message) | ||
(breaking_change | ||
(token) | ||
(value))) | ||
(message | ||
(breaking_change | ||
(token) | ||
(value)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.