-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modified patch to include line numbers * fixed bug for hunk starting line * added tests for line numbering
- Loading branch information
1 parent
65b6e3f
commit 4810e00
Showing
4 changed files
with
95 additions
and
27 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/file.txt b/file.txt | ||
index e03c4a4..cb71f31 100644 | ||
--- a/file.txt | ||
+++ b/file.txt | ||
@@ -2,1 +2,2 @@ | ||
-Hi everyone! | ||
+Hello World! | ||
+This is the diffcessible project. | ||
diff --git a/file.txt b/file.txt | ||
index 57b873d..68cebdf 100644 | ||
--- a/file.txt | ||
+++ b/file.txt | ||
@@ -3,1 +5,2 @@ | ||
-This file starts at line 3. | ||
+This file starts at line 5. | ||
+This is the second test case in this file. |
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