public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH 0/3] support git's safe.bareRepository=explicit
@ 2024-02-16 16:24 André Draszik
  2024-02-16 16:24 ` [OE-core][PATCH 1/3] bitbake: fetch/git2: support git's safe.bareRepository André Draszik
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: André Draszik @ 2024-02-16 16:24 UTC (permalink / raw)
  To: openembedded-core

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'




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-16 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 16:24 [OE-core][PATCH 0/3] support git's safe.bareRepository=explicit André Draszik
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox