Skip to content
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

Usage: How to use with git diff next to git apply #806

Open
nobeh opened this issue Jan 17, 2025 · 0 comments
Open

Usage: How to use with git diff next to git apply #806

nobeh opened this issue Jan 17, 2025 · 0 comments

Comments

@nobeh
Copy link

nobeh commented Jan 17, 2025

I am sure I am missing something that I do not know and I could find the in the manual.

Recently, I used a simple workflow as:

$ git diff > /tmp/my.patch
$ git apply < /tmp/my.patch
error: No valid patches in input (allow with "--allow-empty")

The root cause seems to be that difftastic does not generate the diff default character sequences; e.g. <, +, ... when I am creating the diff patch.

What's the correct usage in this case?

Thanks for making difftastic

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