Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path to deleted file is not working #96

Open
carlolars opened this issue Jan 13, 2020 · 0 comments
Open

Relative path to deleted file is not working #96

carlolars opened this issue Jan 13, 2020 · 0 comments

Comments

@carlolars
Copy link
Contributor

Relative paths to files check if the file exist on the file system to determine if it is a path and not a RegEx. This is of course not working for deleted files, eg git checkout -- deleted\file.txt.

-- could be used to detect if the following arguments are paths, but the use of -- is not mandatory. Maybe it will work in most cases? (And is -- only used before paths???)

andy-5 pushed a commit that referenced this issue Mar 18, 2020
… they look like relative paths.

Fixes converting relative paths to non-existing files after a double-dash. #96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant