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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26524 invoked from network); 29 Mar 2021 15:35:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Mar 2021 15:35:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1617032109; b=Tl6CTfXX88LNeJini79aO1rCHmOlk57xz9AOJlZSizfRncAjEO+4xZ/9Kp5EN9soTPjcfqveUF yrphvvur/sIHaaKlcW6d4nB8otBaA6gUaVVgim56xNG6fK2QYq19ZIVEGQcfBIYnh+/vEt/W7R /8178GTvtY7XL1+x5TlIQ0JVwGvFft+P3dtW27sciY4oaA0B8mQtHMmiMeJ73ufVs+OW9JS7SK UxK80NAWBVc0+xn+Hpx+0lZ3Srh7BwM9mOEQ83QmJkWAcJdA3i2eLSOR0EjUD/lhEJJb015kG1 xuyJEGjqlNa52m2C7glMbLra/WGvEJIWLdRm6YbPRBNYGw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1617032109; bh=ubFd11Z6+b6bflvXxtNuNxT58y+HOW1/xo4q9I+A4XQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:To:From:Date: References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=Q6IxA7xUlZmLKsu5CErLvxkCntg1U62o5NY4fKNneVsv9wcQ8//DKQYFdNjK2cXlo2bzvIxrtp yZZz7t8OK2halM1nArueLq1ELQKtsoASVidVDHiu5meRy8Vg59VyRU9UTFsPIa8NklJPz61ngz GRIanjIPULeYXt/aEfd8RDWlN1E2aLp7hVPHSYlxqC7+3/GbrZOQim8FK/JFhbv/OrK8r1P4WV YK/yvkJVge+wV+S7k+fx9lhYoNOA6wdxnqlH/KjxPQyCEIdp5PrsaQayCaqWKakvd7at+XmcnF xdS/6zE/+Xhnlb8LKO223t6WnA2V0tHv7+NUalbp3RCQvA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=H39Rrhupq51pan3tihO0HNKE6Vq5gI2ZAvHT4fBw+wQ=; b=hXyWk203TZLZzyFzvuxrk9gpBY qsVwWwmD0S9IgkuFFjXd/bjA6scfaEQM5zCeqqD9rq/RROHmLgKXMM8F2JDLurJtnlxrB1ZYWJ1Ac GvkFLO3f9Oyk2XIpHPCJaKQZMDOaDNwmkLFDw3i2VwNKozNQhD+kmL6OKcWgvJVOJeMqRQq6vJaSR LWx9/Rta4OaFKCog0q0unul3RCM4CaCn7sE3gCLBKL1U4HqviYQkyWWUVPidLqr9YPW9GOaxbKJuo OJV+dABErlEcF5mgeLEO5tjmfPCIWYvy33TCkYSaz8zLM8RwlY+vu39yF6BdfAWWY4fxOz5KwJS/u UZ4/soHQ==; Received: from authenticated user by zero.zsh.org with local id 1lQtv1-0006Kf-45; Mon, 29 Mar 2021 15:35:07 +0000 Authentication-Results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54691) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lQtup-0006Am-9B; Mon, 29 Mar 2021 15:34:56 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 314FB5C012E; Mon, 29 Mar 2021 11:34:54 -0400 (EDT) Received: from imap37 ([10.202.2.87]) by compute3.internal (MEProxy); Mon, 29 Mar 2021 11:34:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type :content-transfer-encoding; s=fm3; bh=H39Rrhupq51pan3tihO0HNKE6V q5gI2ZAvHT4fBw+wQ=; b=Y9HDPsnWvsq60jU6ZfQtA8ZHibx0lC3NW9PtaKEFxf FWmezdne7WF/MfqZd4DyPq1k19zdSBDFArfR3AD0DqphjfYAeTVK/d/orCfNDadB +zefiQo3AY0+7Zzgb8PhcUpGjg4B3ZVq/NK6s4OL7qh3JCbjsOz7W3MNsCKT0tiw D0sii6lOUBrnYFkq4+l1b6XpLR3IG9asOFqCUR7lKdQ2FBCweeSmY0o3JPc70AaK BWIvCAAl1g2d4LaFru4iTlWYXbijY6wQlNScZZyUdmGZo/Iioz/5XQU2TdkauwTc pjb085H0L2jdRv8KSJG3P9A/6bJvbBGRdrm6lbPU0cqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=H39Rrhupq51pan3tihO0HNKE6Vq5gI2ZAvHT4fBw+ wQ=; b=Sg2OLNFF/Q9WyFJxtwhxKXUSDW8NjjMvzvIg2fr38Wd4vnhbjoR+eYNy4 DdwBecWx/OUgNbdFfFpcqmXz8Dm5oybzauKH8hoH+6K35AykI3l7nC2tKmrZRo7C vuGB28xdb9OMg+oZZCjlr9ticrz/UrsMVeWwfA6d7/dZpXlh9IDvEHGVr3AQgjzD d9m9efdXQubARWbLy2gO5eMxeFgVbhF1yOogGCRXCqQ+nkGfEe9VGu2H53nEX+m3 1RWa3nc3vv9n3FYFEUfrmXcr2FIFFkJBFM8De5yHxW8O5AyhX/pI3obrrRvY/5Gx oCbSi/xzE8XGo/sf88Mrc8gnpFnvg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehkedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepveekuddtgf eivdefffefieefuefhueehkeehlefghedvheduuedtfedtffegkefgnecuffhomhgrihhn pehgihhtqdhstghmrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id AA12F6B40061; Mon, 29 Mar 2021 11:34:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249 Mime-Version: 1.0 Message-Id: <9c2d7f89-d521-4397-b8f0-1cea03126446@www.fastmail.com> In-Reply-To: References: <31598-1614116362.902856@aI-l.maGv.3QD7> <20210224142437.GC9342@tarpaulin.shahaf.local2> <3e0a754f-bbac-404d-92ba-b30f0c736f61@www.fastmail.com> <7f0a752e-2685-4c4b-8a31-b8db1728af1f@www.fastmail.com> <20210311161552.GA9181@tarpaulin.shahaf.local2> <742BD09C-6FE4-4B89-9B8F-824FB67EDEED@gmail.com> <81051-1616974187.275911@6nTa.K7Pn.vjul> <110911501.873064.1617008050802@mail2.virginmedia.com> Date: Mon, 29 Mar 2021 15:34:32 +0000 From: "Daniel Shahaf" To: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= , zsh-workers@zsh.org Subject: Re: EOL normalization? (Was: Completion script for the ctags program) Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 48326 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Lawrence Vel=C3=A1zquez wrote on Mon, 29 Mar 2021 15:07 +00:00: > On Mon, Mar 29, 2021, at 4:54 AM, Peter Stephenson wrote: > >=20 > > > On 29 March 2021 at 00:29 Oliver Kiddle wrote: > > > The previous files also had DOS > > > line endings - if someone other than me pushes any updates, please= > > > ensure we only have Unix line endings. > >=20 > > That would likely be my fault because on that occasion I extracted t= he script > > from the original email in a somewhat clumsy cross-platform way. It= was > > inconvenient and bug-prone enough I'm likely to be leaving anything = like > > this in future until I'm back on a proper Linux system... >=20 > Would it be desirable to normalize line endings on commit (see > https://git-scm.com/docs/gitattributes#_end_of_line_conversion)? I for one would rather Git treated file contents as opaque binary blobs and didn't munge them in any way. That tends to be a lot easier if we ever need to surgery the repository, or if we want to add CRLF or binary= test data, or if somebody uses a Windows Git client to build zsh on Cygwin=C2=A0=E2=80=94 and as to downsides, it's not as though CRLF in th= e completion files are a common problem, or one that's hard to notice/fix when it does occur. Cheers, Daniel >=20 >=20 >=20 > diff --git a/.gitattributes b/.gitattributes > new file mode 100644 > index 000000000..0a192b762 > --- /dev/null > +++ b/.gitattributes > @@ -0,0 +1,2 @@ > +# Normalize EOLs to LF in files that look like text. > +* text=3Dauto >=20 >