From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [REQ/DISCUSSION] patch managing system Date: Wed, 23 Mar 2016 11:36:09 +0300 Message-ID: <87wpot1thi.fsf@gmail.com> References: <87h9g0eq1c.fsf@grrlz.net> <87d1qogcfw.fsf@grrlz.net> <87h9fz7pe0.fsf@gnu.org> <87egb2ybhy.fsf@grrlz.net> <8760wetr5f.fsf@gnu.org> <87mvppvm4g.fsf@gmail.com> <877fgt3akv.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aieH0-0001mZ-De for guix-devel@gnu.org; Wed, 23 Mar 2016 04:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aieGv-0004ef-Eh for guix-devel@gnu.org; Wed, 23 Mar 2016 04:36:14 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:34858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aieGv-0004eY-6I for guix-devel@gnu.org; Wed, 23 Mar 2016 04:36:09 -0400 Received: by mail-lf0-x22d.google.com with SMTP id q73so3246065lfe.2 for ; Wed, 23 Mar 2016 01:36:09 -0700 (PDT) In-Reply-To: <877fgt3akv.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 23 Mar 2016 08:41:36 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel@gnu.org, Nils Gillmann Ricardo Wurmus (2016-03-23 10:41 +0300) wrote: > Chris Marusich writes: > >> While we're talking about patches, I'm curious: how are other people >> managing the patches? In particular, what does the workflow look like >> for people who are committing? Do you manually download the patch (or >> patches) to a temporary folder, view it/them, and if you like what you >> see, commit it with "git am" to a local repo, then push to origin? > > I=E2=80=99m using an email client in Emacs, so the email as well as the a= ttached > patch is shown in a regular text buffer. When I see the patch I can > directly apply it by running =E2=80=9Cgit am=E2=80=9D on the buffer conte= nts, or by > opening a shell and running =E2=80=9Cgit am=E2=80=9D on the file associat= ed with the > buffer. In Magit, one can use "w w" to apply patches, and "w m" if they are saved in a "maildir" file, as can be done in Gnus by selecting several articles (in Summary buffer) and pressing "o". See (info "(magit) Applying patches") and (info "(gnus) Saving Articles") --=20 Alex