-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conflicts: label closing delimeter with conflict number
This follows up on #3459 and adds a label to the closing delimeter of each conflict, e.g. "Conflict 1 of 3 ends". I didn't initially put any label at the ending delimeter since the starting delimeter is already marked with "Conflict 1 of 3". However, I'm now realizing that when I resolve conflicts, I usually go from top to bottom. The first thing I do is delete the starting conflict delimeter. It is when I get to the *end* of the conflict that I wonder whether there are any more conflicts left in the file.
- Loading branch information
Showing
10 changed files
with
49 additions
and
46 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -95,7 +95,7 @@ fn test_cat() { | |
+a | ||
+++++++ Contents of side #2 | ||
c | ||
>>>>>>> | ||
>>>>>>> Conflict 1 of 1 ends | ||
"###); | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ fn test_obslog_with_or_without_diff() { | |
│ 4 : +++++++ Contents of side #2 | ||
│ 5 : foo | ||
│ 6 : bar | ||
│ 7 : >>>>>>> | ||
│ 7 : >>>>>>> Conflict 1 of 1 ends | ||
◉ rlvkpnrz hidden [email protected] 2001-02-03 08:05:09 cf73917d conflict | ||
│ my description | ||
◉ rlvkpnrz hidden [email protected] 2001-02-03 08:05:09 6fbba7bc | ||
|
@@ -117,7 +117,7 @@ fn test_obslog_with_or_without_diff() { | |
-+++++++ Contents of side #2 | ||
-foo | ||
-bar | ||
->>>>>>> | ||
->>>>>>> Conflict 1 of 1 ends | ||
+resolved | ||
rlvkpnrz hidden [email protected] 2001-02-03 08:05:09 cf73917d conflict | ||
my description | ||
|
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.