You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I want to know does java-diff-utils support patch file with multiple files? as far as I know, UnifiedDiffUtils.parseUnifiedDiff function can parse patch file with only one file.
Describe the bug
When using diff command to compare two directories:
diff -u Origin/ Update/ > multiPatch.txt
we get multiPatch.txt:
To Reproduce
Steps to reproduce the behavior:
This need more than one file in every directories.
Origin dir:
cat Origin/test1.java
cat Origin/test2.java
Update dir:
Update/test1.java
Update/test2.java
run diff command
diff -u Origin/ Update/ > multiPatch.txt
cat multiPatch.txt
Expected behavior
And I want to know does java-diff-utils support patch file with multiple files? as far as I know, UnifiedDiffUtils.parseUnifiedDiff function can parse patch file with only one file.
System
The text was updated successfully, but these errors were encountered: