Skip to content
Snippets Groups Projects
Commit 5e7fd3a0 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

mdiff: let _unidiff yield hunks as (<range information>, <hunk lines>)

Now _unidiff yields each hunk lines packed into a tuple with the "range
information" `(s1, l1, s2, l2)` that is used to build the typical hunk header
'@@ -s1,l1 +s2,l2 @@'.
This will be used to make it possible to filter diff hunks based on this range
information.

The new "range information" is ignored in unidiff() (only caller of _unidiff)
for now.
parent 4fba2147
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment