Thanks to visit codestin.com
Credit goes to github.com

Skip to content

multi-file diffs are not supported #51

Closed
@uwesimm

Description

@uwesimm

(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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions