-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find_repo
function can enter an infinite loop
#6524
Comments
I've struggled here to reproduce this — I don't seem to have this problem on my Windows machine (using my volume GUID). I'll keep trying, but if there's any additional data to reproduce this, that would be helpful. |
You don't need Windows machine to reproduce it. Just check the unit test from PR #6525 test function name is 'test_repo_discover__discovery_starting_at_unmounted_win_root_causes_no_hang' |
That test runs successfully on all my machines (macOS, Windows 11) without any changes to the find repo function. Does it still fail for you without any changes? |
You are absolutely right, the test will not fail with some 'uuid-volume' path. We need such a 'uuid-volume' path that will successfully pass here: |
Reproduction steps
call
Expected behavior
function return
Actual behavior
function doesn't return
subcall
find_repo
never break from loopVersion of libgit2 (release number or SHA1)
'main' branch 8164b48
Operating system(s) tested
Windows 10 Pro 22H2
The text was updated successfully, but these errors were encountered: