Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Win 10 path missing a slash #122

Closed
Closed
@Samzyre

Description

@Samzyre

Describe the bug
Local cargo index git path The error message is missing some backslashes.

To Reproduce
When I have useLocalCargoIndex set to true, I get this error:

**clap: Error: Command failed: git --no-pager --git-dir="C:\Users\Samz.cargo\registry\index\github.com-1ecc6299db9ec823.git" show origin/master:cl/ap/clap fatal: invalid object name 'origin/master'. ** ( Check Reviews )

Expected behavior
The user dir is faultly Samz.cargo and should be Samz\.cargo, and github.com-1ecc6299db9ec823.git should have \.git

Desktop (please complete the following information):

  • OS: Windows
  • Version: 10.0.19042

Additional context
Seems to be the case in 0.5.6 and 0.5.7 (not sure why it worked until 0.5.7 update tho)
Perhaps related to this #116 ?

EDIT: Corrected some details about the issue, also see my comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions