From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: no patch applies Date: Sat, 6 Aug 2016 19:12:01 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW58r-0000El-Dv for help-guix@gnu.org; Sat, 06 Aug 2016 13:12:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW58m-0002Gv-C8 for help-guix@gnu.org; Sat, 06 Aug 2016 13:12:08 -0400 Received: from mail-yb0-x22d.google.com ([2607:f8b0:4002:c09::22d]:35538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW58l-0002GO-5J for help-guix@gnu.org; Sat, 06 Aug 2016 13:12:04 -0400 Received: by mail-yb0-x22d.google.com with SMTP id g133so24066188ybf.2 for ; Sat, 06 Aug 2016 10:12:01 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org >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 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.