Test failure for git 2.30.1 and 2.34.1 due to GIT_EXEC_PATH #230
typesanitizer
started this conversation in
General
Replies: 1 comment 4 replies
-
I built git 2.33.1 from source on Linux and it has this same issue when running |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running tests locally from
master
usingPATH_TO_GIT="$(which git)" cargo test
, I'm seeing a failure forcommand::test_undo::test_git_bisect_produces_empty_event
wherebisect
is not found.A minimal reproducer for this is:
This fails with
It only fails for
bisect
, not other subcommands, so it seems like a Git bug, not agit-branchless
bug.With git 2.25.1, the test doesn't call bisect, so the test passes. With git 2.30.1 (AppleGit-130) on macOS, or 2.34.1 on Linux from, the test fails. Which makes sense, because that test only calls
bisect
for 2.29 or newer.I see that the CI has recent Git versions in the build matrix here:
git-branchless/.github/workflows/linux.yml
Line 21 in b343a84
It's unclear to me how this test is passing in CI but failing locally. I'm wondering if there is a difference between even-numbered versions (stable?) vs odd numbers (unstable?).
I'll try to investigate this further, but just putting it up here, in case anyone else hits the same issue.
Beta Was this translation helpful? Give feedback.
All reactions