From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [REQ/DISCUSSION] patch managing system Date: Wed, 23 Mar 2016 23:24:17 +0100 Message-ID: <87y498sui6.fsf@gnu.org> 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> <87wpot1thi.fsf@gmail.com> 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]:47147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1airCU-0007cJ-GJ for guix-devel@gnu.org; Wed, 23 Mar 2016 18:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1airCT-0007zU-Ke for guix-devel@gnu.org; Wed, 23 Mar 2016 18:24:26 -0400 In-Reply-To: <87wpot1thi.fsf@gmail.com> (Alex Kost's message of "Wed, 23 Mar 2016 11:36:09 +0300") 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: Alex Kost Cc: guix-devel@gnu.org, Nils Gillmann Alex Kost skribis: > 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 = attached >> 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 cont= ents, or by >> opening a shell and running =E2=80=9Cgit am=E2=80=9D on the file associa= ted 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") That seems less efficient than what Andy suggests (which is what I do as well), no? Ludo=E2=80=99.