From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20016 invoked from network); 13 Jul 2021 21:51:05 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 13 Jul 2021 21:51:05 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m3QIx-0039eU-L1 for ml@inbox.vuxu.org; Tue, 13 Jul 2021 16:51:03 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1m3QIx-008i38-3w for ml@inbox.vuxu.org; Tue, 13 Jul 2021 16:51:03 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m3QIw-008i33-Fo for ding@lists.math.uh.edu; Tue, 13 Jul 2021 16:51:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m3QIs-0039eF-6A for ding@lists.math.uh.edu; Tue, 13 Jul 2021 16:51:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=25fp3048lFwhUSZQ+IhdTMPl+meMTdiOMVENEl71o+k=; b=UnksAVbFYLeU6GL3dMAxuLvgFU sRmx8VvUZGnrWKPZDGLh2y/bIRErb5YyXtp7xUI2fK9R7O8ZW64Lm5Fa0dXiThcqe60ZbRwZkpU1O yR+KRFf+82367ugFI72gVvOwDrAbOOo49utlaq1JWfOQg+rV5sKRu8vfbu/8O+4g7Wxg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3QIl-0004vX-6y; Tue, 13 Jul 2021 23:50:53 +0200 From: Lars Ingebrigtsen To: Eric Abrahamsen Cc: ding@gnus.org Subject: Re: Applying patches sent via email References: <87h7gxao1y.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXyxS3ho3z53xf+ 8AP///94BMXfAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHDRUxBWbNtvoAAAGmSURBVDjLbVSLsYQw CCSmgaAN5NMAB/339vgEvXt3zsioG9jsQoRyisioIoyXhaUBpFRAtFdFXxEU7dCxKbAUaPZNwzA0 AS1lr3RnEEwFSMsLa2Xpesu0sKQv6Ic9CjWGKnG9UJ/AKutVEBpsoFi9NwASQAfG6S8D579SHIRc g9fDISxgvLmUF9liwoknWPkHcIEDB+IXcD0A3ayywsSmVoCKdombXNe5C0u98t119efcKsxuMzGE QgmpbAA5MAKAyLiBcpIREsjenLcUavrDtgPyUFO5C3Ax3rTSCBYcO2OV4sBSgxro5wfADXBpXRkS MHL1wnkPHZ+53oC+ciNG9bRz6/CmXe/AVn73/H45fmd8cLTgYEjlHXK4Ss1GdVgmuluVsN2+2bRE KEFET2t3BoXF7FMSczXD3b0ZV06Q2/HsElhyJIBxYL6Ajn7EAqCPjFpaZujNdor8KIHEEfMMrHi+ 0E2yZbbWtzvQZyg6OBkgBVorsPwAdilTjio2S+lQzyDnONVOTiv17H+Jz1V4tfXsX4bP7tJnfADK oW5Bfo8A51BHqT9fV6QLXnUydQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xM1QyMTo0OTow NSswMDowMN3onA8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTNUMjE6NDk6MDUrMDA6MDCs tSSzAAAAAElFTkSuQmCC X-Now-Playing: Dj Balduin's _Kompakt Total 19 (2)_: "E.W.B.A." Date: Tue, 13 Jul 2021 23:50:50 +0200 In-Reply-To: <87h7gxao1y.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 13 Jul 2021 14:42:17 -0700") Message-ID: <87bl75opc5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Eric Abrahamsen writes: > I've always been slightly annoyed at the hoops I have to jump through to > apply git patches that I get in email to various repos that I have on > disk. I'm starting to realize that it's actually easier than I thought > (specifically, "git am" is much more capable than I realized), and I'm > thinking that there's only a couple bits of glue missing, which means > someone has probably already done this. If it's a patch generated from Git, then "git am" does indeed work fine. For other random patches, I use `debbugs-gnu-apply-patch' (from the debbugs package), which tries to do a bunch of heuristics that... sometimes work OK? I mean, I tweaked it a lot over the years, and it's geared towards Emacs, but... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no