From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 8B2701F4B4 for ; Thu, 1 Oct 2020 13:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732341AbgJANyT (ORCPT ); Thu, 1 Oct 2020 09:54:19 -0400 Received: from cloud.peff.net ([104.130.231.41]:46552 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732018AbgJANyT (ORCPT ); Thu, 1 Oct 2020 09:54:19 -0400 Received: (qmail 31732 invoked by uid 109); 1 Oct 2020 13:54:18 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Thu, 01 Oct 2020 13:54:18 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 7494 invoked by uid 111); 1 Oct 2020 13:54:18 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Thu, 01 Oct 2020 09:54:18 -0400 Authentication-Results: peff.net; auth=none Date: Thu, 1 Oct 2020 09:54:17 -0400 From: Jeff King To: Junio C Hamano Cc: Carlo Arenas , Nikita Leonov via GitGitGadget , git@vger.kernel.org, Johannes Schindelin , Nikita Leonov Subject: Re: [PATCH v2 2/3] credentials: make line reading Windows compatible Message-ID: <20201001135417.GA3145610@coredump.intra.peff.net> References: <20200929003000.GA898702@coredump.intra.peff.net> <20200929004448.GD898702@coredump.intra.peff.net> <20200929030043.GA905754@coredump.intra.peff.net> <20200930223913.GB1908000@coredump.intra.peff.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Sep 30, 2020 at 03:56:27PM -0700, Junio C Hamano wrote: > > Other than those nits, I think the series is OK. > > Sure. But credential-store side is also iffy; it is not like they > want CRLF on data lines (if they want CR in data, that needs to be > encoded). The only reason I can think of that the change to > "-store" makes any difference is when people edit it, but the file > is not designed to be manually edited, so even that part of the > series needs a better justification. It's not like "We want to be > compatible" without "why it is better to be compatible" is a good > rationale, when we define the file format not to be manually edited > in the first place. Yeah, I agree that just teaching git-credential's stdin to handle CR would be an OK stopping point. I don't have a strong opinion on credential-store's on disk format. At least allowing CRLF there is _plausibly_ useful, unlike credential-cache--daemon's pipe. And I doubt that making the change would hurt anybody. -Peff