From: keith.derrick <keith.derrick@lge.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Dealing with line endings
Date: Tue, 25 Jun 2019 02:26:27 +0000 [thread overview]
Message-ID: <1561429587556.6733@lge.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
I am using an upstream repo with a mix of line endings.
In my recipe, I'm applying a patch with normalized line endings, as our meta layer repo has a .gitattributes with "text=auto" set.
The patch is failing due to "different line endings".
Can the git fetcher be configured to normalize line endings on unpack? I tried setting core.autocrlf in my global .gitconfig, but the fetcher/unpacker seems to ignore it.
Thanks
Keith
[-- Attachment #2: Type: text/html, Size: 958 bytes --]
next reply other threads:[~2019-06-25 2:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-25 2:26 keith.derrick [this message]
2019-06-25 7:30 ` Dealing with line endings Martin Jansa
2019-06-26 0:15 ` keith.derrick
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=1561429587556.6733@lge.com \
--to=keith.derrick@lge.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.