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
wrong path in case of workdirs #1972
Comments
This fixes the conflicted state check when using work trees. pre-commit#1972
This fixes the conflicted state check when using work trees. pre-commit#1972
you're missing: a reproduction of your error and a test in the pr demonstrating the change |
The issue can reproduced like that:
I have no clue how to create a test for that. Can you help out here? Is there an other test that can be taken as a template? |
there's a handful of relevant similar tests in Line 27 in 835f9c6
I believe the latter on is relevant to the error you posted above |
The test is in place. |
This fixes the conflicted state check when using work trees. pre-commit#1972
This fixes the conflicted state check when using work trees. pre-commit#1972
Since #1973 has been closed, is this issue solved? |
the pr was incomplete and stale |
Do you have plans to fix the issue yourself? |
not really -- I don't use the feature |
So we are back to the PR right? I think I need your help to fix. What is to do to put it into a merge-able state? |
How to fix the failing CI? |
well the CI is green without your change so something you changed broke things -- you'll have to do some debugging to figure out why |
This fixes the conflicted state check when using work trees. pre-commit#1972
This fixes the conflicted state check when using work trees. pre-commit#1972
This fixes the conflicted state check when using work trees. pre-commit#1972
When working with work dirs the conflict check is using the wrong path. This results in a weird error message during a commit with the base worktree in conflict.
The text was updated successfully, but these errors were encountered: