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

Using patch command to apply patches when Git indexes don't match #8

Open
frixaco opened this issue Aug 5, 2022 · 1 comment
Open
Assignees
Milestone

Comments

@frixaco
Copy link
Owner

frixaco commented Aug 5, 2022

I just discovered that I can run patch -p1 <patch.file> to apply diffs and seems like it's less strict than git apply. Also there's diff command which generates diffs just like git diff. I suggest (to myself) to investigate both commands (diff and patch) and see how they compare to Git's diff and apply. If it's just diff to create the project and then just patch to apply it without any additional steps like with Git, I'll switch to them.

@frixaco frixaco added the idea Ideas label Aug 5, 2022
@frixaco frixaco added this to the 1.0.0 milestone Aug 5, 2022
@frixaco frixaco self-assigned this Aug 5, 2022
@frixaco
Copy link
Owner Author

frixaco commented Sep 1, 2022

Git throws No valid patches in input (allow with "--allow-empty") for empty diffs

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

No branches or pull requests

1 participant