[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no patch applies
From: |
Ricardo Wurmus |
Subject: |
Re: no patch applies |
Date: |
Fri, 05 Aug 2016 12:09:23 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Vincent Legoll <address@hidden> writes:
> Hello
>
>>> I attempted to apply the patch onto a fresh Guix master and the patch does
>>> not apply, I don't know why
>
> When I fail to apply a patch that's often because of a wrong -p parameter.
> Try with "--dry-run -p0" or "--dry-run -p1" to find the good one. You can also
> look at file paths in the patch and deduce the right path strip level.
I haven’t used “patch” in quite a while because usually “git am
the-patch-file” just works. If the patch was created with “git
format-patch” against master you shouldn’t have any problems using “git
am” on it.
~~ Ricardo