support git's safe.bareRepository=explicit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fetch/git2: support git's safe.bareRepositorybitbake/ | +2 | 0 replies | |
| 2/3 | tests/fetch: support git's safe.bareRepositorybitbake/ | +2 | 0 replies | |
| 3/3 | git-make-shallow: support git's safe.bareRepositorybitbake/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [bitbake][PATCH 0/3] support git's safe.bareRepository=explicit
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].
It also seems that it is being rolled out in some environments as a default for users.
To reproduce, 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://lwn.net/Articles/892755/ [2]
Cheers,
Andre'