Open
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
PrepareFetch
andfetch_only
forhttps://github.com/calyptobai/gix-fetch-win-fail.git