Closed
Description
(this is probably not a bug - its just missing)
the issue is that although a diff of multiple files are parsed but the patch information cannot be related back to which file they belong. At least I did not find an API to understand to which files a particular hunk/delta refers to.
To Reproduce
'diff -U olddir newdir > udiff.diff' with some files differing
- now use UnifiedDiffUtils.parseUnifiedDiff("udiff.diff")
I would expect that it is possible now for every hunk to understand which fromFile and which toFile have been used to produce a particular delta/hunk.
Metadata
Metadata
Assignees
Labels
No labels