Repository navigation
Closed
Labels
bugConfirmed bugs or reports that are very likely to be bugspriority-3Bugs that affect small number of users and/or relatively cosmetic in nature
Description
The problem
A path of a local repository enclosed in a pair of double quotation marks entered into the Add local repository dialog, cannot be recognized by this app.
Release version
Version 3.5.8 (x64)
Operating system
Windows 11
Steps to reproduce the behavior
- Open this app.
- If the "Let's get started!" view shows, it suggests that you do not have any repos associated with this app. Create a new repo on your local drive with this app for the purpose of this issue.
- Focus on the repo bar and click Current repository.
- If you have created a repo in Step 2, it will be the only repo you can see here. Focus on it.
Otherwise, focus on whichever repo as an example for this issue (Do not worry. You will not lose it as long as you follow the instruction when you do Step 13.) - Open the context menu and select Show in Explorer.
- In File Explorer, go up (The focus will be on the repo folder).
- Open the context menu and select Copy as path. (You will get the path enclosed in a pair of double quotation marks copied. Paste it elsewhere to have a try!)
- Return to this app.
- Focus on the repo bar and click Current repository.
- Search and focus on the repo.
- Open the context menu and click Remove….
- Keep Also move this repository to Recycle Bin unchecked …

… and select Remove. - If the "Let's get started!" view shows again as it has in Step 2, click Add an Existing Repository from your Hard Drive…
Otherwise, focus on the repo bar and Click Current repository → Add → Add existing repository… - Paste what you have copied in Step 7. (You will see it enclosed in a pair of double quotation marks.)
- Select Add repository (or press Enter instead) and see what happens.
Log files
No response
Screenshots
Additional context
Prior practice
As a contrast, VS Code's Open folder dialog accepts such a path enclosed in a pair of double quotation marks.
Work around
When this occurs, either
- delete the enclosing quotation marks manually, or
- click Choose… and paste what you have copied in Step 7 there.
Metadata
Metadata
Assignees
Labels
bugConfirmed bugs or reports that are very likely to be bugspriority-3Bugs that affect small number of users and/or relatively cosmetic in nature
Activity
desktop-triage commentedon Oct 30, 2026
Classification: Bug
Priority: P3
Information Assessment: The report includes app version (3.5.8), OS (Windows 11), precise reproduction steps using Windows Explorer's "Copy as path" feature (which wraps the path in double quotes), and screenshots showing the resulting path is not recognized. This is reproducible and well-scoped to a single issue.
Duplicate Check: No exact duplicate found. Related-but-distinct issues: #22651 ("Add Local Repository rejects paths starting with
~", closed) deals with a different path-normalization edge case (tilde expansion), and #22648 ("Add Local Repository keeps showing the not-a-Git-repository warning after the path is corrected") is about stale warning state, not quote handling. Neither covers quoted paths.Recommended Labels:
bug— reproducible, incorrect handling of a valid OS-provided path formatpriority-3— affects a workaround-able edge case (user can strip quotes manually or type the path without them); not a core-function blockerInitial hypothesis
The "Add existing repository" dialog resolves the entered text via
Path.resolve('/', untildify(path))inresolvedPath()(add-existing-repository.tsx#L278-L279), with no step that strips surrounding double-quote characters before this resolution or before callinggetRepositoryType(path)for validation (same file, L96). Windows Explorer's "Copy as path" command (used in the reporter's steps) wraps the copied path in literal"characters, so pasting it verbatim produces a string like"C:\Users\foo\repo"(quotes included as part of the text). Because neitheruntildifynorPath.resolvestrip embedded quote characters, the resulting path does not correspond to any real filesystem location, sogetRepositoryTypereports it as missing/not-a-repository — matching the reporter's observed warning, which disappears once they manually delete the quotes. This is consistent with the comparison to VS Code's folder picker, which evidently does sanitize quoted clipboard paths before use.[-]Cannot recognize local repo path in double quotation marks[/-][+]Path in double quotation marks not recognized in in-place input box[/+][-]Path in double quotation marks not recognized in in-place input box[/-][+]Path in quotation marks not recognized in in-place input box[/+]Accept quoted paths in Add Local Repository
[-]Path in quotation marks not recognized in in-place input box[/-][+]Cannot recognize local repo path in double quotation marks[/+][-]Cannot recognize local repo path in double quotation marks[/-][+]Cannot recognize local repo path in quotation marks[/+]