public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Seth House <seth@eseth•com>
To: "brian m. carlson" <sandals@crustytoothpaste•net>
Cc: Junio C Hamano <gitster@pobox•com>,
	David Aguilar <davvid@gmail•com>,
	Felipe Contreras <felipe.contreras@gmail•com>,
	git <git@vger•kernel.org>
Subject: Re: Re* [PATCH v2] fixup! mergetool: add automerge configuration
Date: Fri, 22 Jan 2021 02:08:56 -0700	[thread overview]
Message-ID: <719978262.66088809.1611306387062.JavaMail.zimbra@eseth.com> (raw)

On Fri, Jan 22, 2021 at 02:50:17AM +0000, brian m. carlson wrote:
> Can you report this as a bug?  This behavior isn't compliant with POSIX
> and it makes it really hard for folks to write portable code

I finally tracked down what upstream project these packages come from.
I don't use Windows very often and the MSYS2, MinGW, msysgit, & Cygwin
project history and overlap is *complicated* to say the least.

It seems the Git-for-Windows userland comes from both MSYS2 and MinGW
[1]. sed and awk come from MSYS2 and the carriage return conversion is
indeed documented [2].

[1] https://github.com/git-for-windows/build-extra#msys2
[2] https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/#runtime

It looks like the auto-CR conversion is well-tread, and well-flamed,
territory. I'd prefer not to reignite that but I filed an issue to start
a discussion. That issue also details the history behind this behavior
for anyone interested:

https://github.com/msys2/MSYS2-packages/issues/2315


             reply	other threads:[~2021-01-22 12:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  9:08 Seth House [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-09 21:59 [PATCH] fixup! mergetool: add automerge configuration brian m. carlson
2021-01-09 22:42 ` [PATCH v2] " David Aguilar
2021-01-09 22:54   ` Seth House
2021-01-10  1:17     ` Junio C Hamano
2021-01-10  6:40       ` Re* " Junio C Hamano
2021-01-10  7:29         ` Seth House
2021-01-10 11:24           ` Junio C Hamano
2021-01-16  4:24             ` Seth House
2021-01-22  2:50               ` brian m. carlson
2021-01-22 16:29                 ` Johannes Schindelin
2021-01-22 23:25                   ` brian m. carlson
2021-01-26 14:32                     ` Johannes Schindelin
2021-01-26 18:06                       ` Seth House
2021-01-26 20:10                         ` Junio C Hamano
2021-01-27  3:37                           ` Seth House
2021-01-29  0:41                             ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=719978262.66088809.1611306387062.JavaMail.zimbra@eseth.com \
    --to=seth@eseth$(echo .)com \
    --cc=davvid@gmail$(echo .)com \
    --cc=felipe.contreras@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=sandals@crustytoothpaste$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox