-
Notifications
You must be signed in to change notification settings - Fork 27
gitdiff: line 63: git file header: invalid mode line: invalid syntax #37
New issue
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
Comments
Which you actually have tests for, so now I'm confused... 🤔 |
Thanks for reporting this. Is it possible to share the full patch file that caused this error? If that's not possible, how was the patch generated (e.g. was it created by Right now, my guess is that this is caused by something like trailing whitespace, which might have been excluded when you copied the "bad" line for this issue. |
So... I created the patch with |
I think it's likely that something in that process (the email stage?) is converting line endings from |
@bluekeyes Ahh awesome! I never got as far as this in debugging this! Nice one 👌 (btw, where can I discuss some other ideas with you? I have a need that I think your library could help fulfll...) |
@prologic I think creating a new issue is the best way to discuss ideas or usage of this library |
Looks like your library is a bit out-of-date? Line 63 for me in sample I was testing with looks like this:
The text was updated successfully, but these errors were encountered: