mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-28 15:26:25 +00:00
bfb5e55cfd
The default branch relies on checking the value of `HEAD`. The `empty_git_commit` function updates the ref `refs/heads/main`, but since `HEAD` was never updated to point to that ref, the default branch can't be determined. The fix is to explicitly set `HEAD`. Personally, this test failed reliably for me on macOS. I don't know why this behavior would be non-deterministic on other platforms. |
||
---|---|---|
.. | ||
benches | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |