-
-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Labels
C-WindowsWindows-specific issuesWindows-specific issuesacknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed
Description
Current behavior 😯
Calling fetch_only on Windows for a repository with a branch named foo<1.0 fails due to:
Fetch(UpdateRefs(EditReferences(FileTransactionCommit(DeleteReference { full_name: "refs/remotes/origin/foo<1.0", err: Os { code: 123, kind: InvalidFilename, message: "The filename, directory name, or volume label syntax is incorrect." } }))))
Expected behavior 🤔
I would expect this to work on Windows, given that foo<1.0 is a well-formed name according to git's ref naming rules.
Steps to reproduce 🕹
- Use Windows
- Try to
PrepareFetchandfetch_onlyforhttps://github.com/calyptobai/gix-fetch-win-fail.git
Metadata
Metadata
Assignees
Labels
C-WindowsWindows-specific issuesWindows-specific issuesacknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed