From: "André Draszik" <andre.draszik@linaro.org>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][PATCH 0/3] support git's safe.bareRepository=explicit
Date: Fri, 16 Feb 2024 16:24:58 +0000 [thread overview]
Message-ID: <20240216163113.2751935-1-andre.draszik@linaro.org> (raw)
Hi,
When git is configured with safe.bareRepository=explicit [1], various pieces
here just fail. LWN has an article about the problem that this configuration
option addresses and why it is useful in [2].
To test, simply run
git config --global safe.bareRepository explicit
to add safe.bareRepository=explicit to your ~/.gitconfig, and see things
fail without these patches.
These patches are the first stop-gap step to make bitbake/OE work with this
configuration option enabled. I believe in the future, these should be
converted to invoking git with the --git-dir= option explicitly.
Link: https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/config/safe.txt#n1 [1]
Link: https://lwn.net/Articles/892755/ [2]
Cheers,
Andre'
next reply other threads:[~2024-02-16 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 16:24 André Draszik [this message]
2024-02-16 16:24 ` [OE-core][PATCH 1/3] bitbake: fetch/git2: support git's safe.bareRepository André Draszik
2024-02-16 16:25 ` [OE-core][PATCH 2/3] bitbake: tests/fetch: " André Draszik
2024-02-16 16:25 ` [OE-core][PATCH 3/3] bitbake: git-make-shallow: " André Draszik
2024-02-16 16:33 ` [OE-core][PATCH 0/3] support git's safe.bareRepository=explicit André Draszik
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=20240216163113.2751935-1-andre.draszik@linaro.org \
--to=andre.draszik@linaro.org \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox