unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* no patch applies
@ 2016-08-05  3:28 Catonano
  2016-08-05  3:45 ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Catonano @ 2016-08-05  3:28 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

this is not specific to Guix, but because applying patches is central in
the Guix workflow, I argue I can ask here

Erik Edrosa sent a patch to the dev list containing a very cute Guile
Scheme package he made

I attempted to apply the patch onto a fresh Guix master and the patch does
not apply, I don't know why

I also attempted to apply ng0's patches related to gnunet, they don't apply
either.

Doesn't any patch apply ? Why ?

[-- Attachment #2: Type: text/html, Size: 541 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: no patch applies
@ 2016-08-06 17:12 David Craven
  0 siblings, 0 replies; 6+ messages in thread
From: David Craven @ 2016-08-06 17:12 UTC (permalink / raw)
  To: help-guix

From the git docs:

> This command applies the patch but does not create a commit.
> Use git-am[1] to create commits from patches generated by
> git-format-patch[1] and/or received by email.

When you do:
git diff > a-patch.patch
git reset --hard
git apply a-patch.patch

the a-patch.patch file doesn't contain a header like this one:
```
From 7ae32701d13295eb380455af885eaf466303368c Mon Sep 17 00:00:00 2001
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
Date: Sun, 12 Jun 2016 21:15:00 +0200
Subject: [PATCH] kde porting aids
```

and git am fails when it's applied. The same is true for git format-patch
and git apply.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-06 17:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-08-05 13:07       ` Catonano
  -- strict thread matches above, loose matches on Subject: below --
2016-08-06 17:12 David Craven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).