Skip to content

Teach git apply to provide more descriptive error messages #371

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

Open
Denton-L opened this issue Oct 1, 2019 · 0 comments
Open

Teach git apply to provide more descriptive error messages #371

Denton-L opened this issue Oct 1, 2019 · 0 comments

Comments

@Denton-L
Copy link
Member

Denton-L commented Oct 1, 2019

Currently, when running git apply or git am, the error message is infuriatingly bad. It reports something like error: corrupt patch at line 62 and just dies.

We could help users out by providing more information on why it dies. Unexpected character? Too many lines? Too few lines? Something else? Anyway, let's try to avoid dying without giving users a bit more to work with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant