altsem / altsem/gitu

Has problems with msys2 paths

Open
#522 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.