Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp624840imm; Wed, 13 Jun 2018 06:01:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJl/nI27vAKEiueNC8T+y6OGQUf9/J3xJlCZj5TJOvgye2v6CRBvvBJfeKK8NrlHy498Jmn X-Received: by 2002:a63:770c:: with SMTP id s12-v6mr3986896pgc.17.1528894915099; Wed, 13 Jun 2018 06:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894915; cv=none; d=google.com; s=arc-20160816; b=B2fIZ74c61IA82DkhimSm62xuX1wW8ijqEa/WpSnP9TeWyCfGWZ4fvruDYlzE2OfXL j9XuKphjtPBQ8AmNqFrDXqt/X/2xVhR6+U0IPey5+DO1f/PCi8vP3cKm0qEJosIbCx30 9rIoOkiIIxngmzNDIstzw+uS36i6QAdFq0cSk3/sFxO1mhgyphe1D9p4FSEvR91CHnk3 ejvOxwhnxAfiQq5IW5xB6krIJgh64lbFdRGjv63OeFEok2DLbZTd1ebdp8ejHnbdohRa IqqSKjO0j/JE+89vTXwvb7+/P4PnjaFV3jfD1VGlB2AmOU8KKif55YS4AIH6vNruI0ka Gdrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=h5qohrB0SWQ3Cs4MZ/japDwPo2KlcvtaiogKVjQg40I=; b=YmGSPusKVGMCl1WoJKE2QMo8LzPFvx6yQ25sQ0NS5BH9yyp9ptjDFO5z8tDStv8VsR 6gc/pdd+iYsqF2vrQx1yTILRfj9ltCikfqfkrmpm+9XEujHAY+ds0LHysCZU6X0/Ej3X OJrYA9PDtviQh1vFttijLVQYHCX5JvwKWiWBi7obpOsMpW5Tbx3tyIBgkRQCF7YkCQrG fsXx6serg0Hhga3EbyrQXPspHpk+RNYii+EeMjlqjecaWSHHzStdugPbr4DWL4Q6/0oo /uZR5+kz3TlNu12/djS+Z4MgUnypwWxwFfqNBEIvNq37wZIQ/UK28kaPj3Kjpe30ydVh SFpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m13-v6si2285077pgs.690.2018.06.13.06.01.40; Wed, 13 Jun 2018 06:01:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935641AbeFMNAb convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Jun 2018 09:00:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:40548 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935346AbeFMNA3 (ORCPT ); Wed, 13 Jun 2018 09:00:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4EEDFAD4B; Wed, 13 Jun 2018 13:00:28 +0000 (UTC) Date: Wed, 13 Jun 2018 15:00:25 +0200 From: Jean Delvare To: Linus Torvalds , Greg KH Cc: Andreas =?UTF-8?B?R3LDvG5iYWNoZXI=?= , Peter Zijlstra , Sebastian Andrzej Siewior , Oleg Nesterov , Linux Kernel Mailing List , quilt-dev@nongnu.org, Paolo Bonzini , Thomas Gleixner , Paul McKenney , Ingo Molnar Subject: Re: [Quilt-dev] Quilt vs gmail Message-ID: <20180613150025.62cf94ca@endymion> In-Reply-To: References: <20180612083449.100099222@infradead.org> Organization: SUSE Linux X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jun 2018 12:23:26 -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 11:52 AM Andreas Grünbacher > wrote: > > > > Quilt uses those Content-Disposition headers to preserve the patch > > filenames; > > That' what I was assuming, but does anybody really care? Long ago (probably a decade by now, literally) I wrote a shell script named "rename-patch" for Greg KH which suggests a file name for a patch received by e-mail. The script first looks for a "filename" attribute in the Content-Disposition header, and only if not found, falls back to a heuristic which attempts to generate a good-looking file name based on the e-mail's subject. The script used to be published on my kernel.org personal web space, but went away when kernel.org got hacked, and I never bothered publishing my few scripts again, sorry about that. I'm still using that script myself, to name patches generated with "git show --pretty=email", however there is no Content-Disposition header there, so the subject heuristic is always used. I don't know if Greg is still using rename-patch in combination with quilt. Greg? > If you do things one patch at a time, maybe it's convenient, but then > it doesn't sound like a huge win either. > > And if you do a patch-series, then it won't work anyway, and you'd be > saving to an mbox or something. Unless people save patch-series things > one by one, but at that point "convenient" is no longer an issue. I'm not sure why it wouldn't work with a series. The name information is available in each patch of the series, and I know that some kernel developers have all sorts of shortcuts and macros implemented on top of their MUA to automate queuing of patches for various testing or publishing purposes. -- Jean Delvare SUSE L3 Support