Commit 313031b
authored
patch: don't reject final hunk in context diff
* If EOF is seen, process all hunks seen and terminate
* I was debugging why a "short hunk ignored" error occurred for the last hunk in a 2-hunk diff
* undef was being matched against valid-diff-line regex, but undef means there are no more lines in the diff to process1 parent d64b9ce commit 313031b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments