From: Ricardo Wurmus <rekado@elephly.net>
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: no patch applies
Date: Fri, 05 Aug 2016 12:09:23 +0200 [thread overview]
Message-ID: <87twezh6i4.fsf@elephly.net> (raw)
In-Reply-To: <CAEwRq=oupkTH9MFXO=PG+uquxAiT7k93MPLfhOU-MVt5pcee0w@mail.gmail.com>
Vincent Legoll <vincent.legoll@gmail.com> 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
next prev parent reply other threads:[~2016-08-05 10:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-05 3:28 no patch applies Catonano
2016-08-05 3:45 ` Leo Famulari
2016-08-05 7:59 ` Vincent Legoll
2016-08-05 10:09 ` Ricardo Wurmus [this message]
2016-08-05 13:07 ` Catonano
-- strict thread matches above, loose matches on Subject: below --
2016-08-06 17:12 David Craven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twezh6i4.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=help-guix@gnu.org \
--cc=vincent.legoll@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.