~sircmpwn/sr.ht-discuss

6 6

Fastmail patches may be adding ^M

Details
Message ID
<25322346-9ee7-479f-8f36-dc3cf5e491dd@app.fastmail.com>
DKIM signature
missing
Download raw message
Howdy

I've wondered why patched I send through `git send-email` don't play nice with `git apply`.

Looking at whitespace on these patches, it appears Fastmail adds ^M (dos-style line endings)

I wonder if it would be worth it for sourcehut to pass patches through dos2unix etc.

I've solved this for now on my end but I can see how this could be annoying for some users.

It's more a Fastmail issue than a SoureHut issue to be sure, but maybe adding the dos2unix filter is worth discussing.

thanks
Brad
Details
Message ID
<CTTZWHX1DHH7.1RAA7I4U8AQ9I@taiga>
In-Reply-To
<25322346-9ee7-479f-8f36-dc3cf5e491dd@app.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Fastmail adds CR on emails sent via SMTP? You should complain to your
mail administrator about this. But I think others have had successes
with Fastmail before, so it might be a local config issue?
Details
Message ID
<87zg4ag8rd.fsf@remworks.net>
In-Reply-To
<CTTZWHX1DHH7.1RAA7I4U8AQ9I@taiga> (view parent)
DKIM signature
missing
Download raw message
I can confirm using git-send-email and fastmail works fine.  My setup
for receiving patches is through fastmail, mbsync and mu4e.  For sending
patches I use msmtp configured to use fastmail.
Details
Message ID
<877crelrh7.fsf@gnu.org>
In-Reply-To
<CTTZWHX1DHH7.1RAA7I4U8AQ9I@taiga> (view parent)
DKIM signature
missing
Download raw message
"Drew DeVault" <sir@cmpwn.com> writes:

> Fastmail adds CR on emails sent via SMTP? You should complain to your
> mail administrator about this. But I think others have had successes
> with Fastmail before, so it might be a local config issue?

My mail provider is Fastmail, too, and I've just git-send-email-ed some
random commit to myself.  I'd didn't get mangled, i.e., the encoding is
utf8 with unix line-endings which corresponds to what I use in the
project the commit originates from.

Bye,
Tassilo
Details
Message ID
<0c9e51e7-64bf-492f-a91d-d22c38a63f15@app.fastmail.com>
In-Reply-To
<CTTZWHX1DHH7.1RAA7I4U8AQ9I@taiga> (view parent)
DKIM signature
missing
Download raw message
Since everyone else seems to be managing, its clearly a config/locale or some other issue on my end.

Thanks for the replies everyone!

Brad
Details
Message ID
<7164fcd1-aa24-4c1a-ac56-ac098b8e702f@app.fastmail.com>
In-Reply-To
<0c9e51e7-64bf-492f-a91d-d22c38a63f15@app.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
On Wed, Jul 5, 2023, at 04:29, Brad Clawsie wrote:
> Since everyone else seems to be managing, its clearly a config/locale 
> or some other issue on my end.
>
> Thanks for the replies everyone!

Bit of a wild guess, but are you on Windows, maybe in one of the native shells? I'm wondering if the extra newlines are being injected in one of the pipes.
Details
Message ID
<pkpkxnn5twgsdi2pkeh4mtgm4omrbx6cwqwgurkilnndefbjmx@b4p2planobgu>
In-Reply-To
<7164fcd1-aa24-4c1a-ac56-ac098b8e702f@app.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
On 23/07/05 10:27AM, Benjamin Pollack wrote:
> Bit of a wild guess, but are you on Windows, maybe in one of the native 
> shells? I'm wondering if the extra newlines are being injected in one of the 
> pipes.

I'd rather direct the debugging efforts to OP's mailer:

X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.9.0-alpha0-527-gee7b8d90aa-fm-20230629.001-gee7b8d90
Reply to thread Export thread (mbox)