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
"git diff --cached" produces file headers such as:
diff --git c/README.md i/README.md index cfe07c3..6d38cfe 100644 --- c/README.md +++ i/README.md
unidiff incorrectly considers this as a change to file "c/README.md" instead of a change to "README.md".
It looks like the reason is that
python-unidiff/unidiff/patch.py
Line 226 in a7e46e0
The text was updated successfully, but these errors were encountered:
Actually, "git diff --cached" only behaves that way if diff.mnemonicprefix config item is set.
Sorry, something went wrong.
No branches or pull requests
"git diff --cached" produces file headers such as:
unidiff incorrectly considers this as a change to file "c/README.md" instead of a change to "README.md".
It looks like the reason is that
python-unidiff/unidiff/patch.py
Line 226 in a7e46e0
The text was updated successfully, but these errors were encountered: