Has problems with msys2 paths
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.9k
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
really like your software, as an emacs veteran this gives me the ability to use (kind of) magit on windows. Which is otherwise unbearable.
Anyhow, I noticed no issues in the git for windows bash shell with gitu, bin in a normal msys2 shell it is all falling apart. And I think it is because of paths.
When I run gitu in a msys2 shell (ucrt64 for my case, but I think that doesn't matter which one) I get
Error: OpenRepo(Error { code: -1, klass: 2, message: "failed to resolve path '/c/Users/MyName/dev/bode-tidy': The system cannot find the path specified.\r\n" })
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in an MSYS2 UCRT64 shell using the reported /c/Users/MyName/dev/bode-tidy path, then compare it with running gitu in Git for Windows Bash. Trace the path handling until the repository opens correctly in MSYS2, and verify that the reported repository path no longer produces the resolution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100