We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This library does not correctly parse git diffs for empty files that are added or removed. Below are sample diffs and the resulting parse() output:
parse()
diff --git a/a.txt b/a.txt new file mode 100644 index 0000000..7898192
{ "hunks": [], "oldEndingNewLine": true, "newEndingNewLine": true, "newMode": "100644", "oldRevision": "0000000", "newRevision": "7898192", "type": "modify" }
diff --git a/a.txt b/a.txt deleted file mode 100644 index 7898192..0000000
{ "hunks": [], "oldEndingNewLine": true, "newEndingNewLine": true, "oldMode": "100644", "oldRevision": "7898192", "newRevision": "0000000", "type": "modify" }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This library does not correctly parse git diffs for empty files that are added or removed. Below are sample diffs and the resulting
parse()
output:Adding an empty file
diff --git a/a.txt b/a.txt new file mode 100644 index 0000000..7898192
Removing an empty file
diff --git a/a.txt b/a.txt deleted file mode 100644 index 7898192..0000000
The text was updated successfully, but these errors were encountered: