Microsoft/vscode

Git - Discarding changes on open file error

Open

#114,374 opened on Jan 14, 2021

View on GitHub
 (7 comments) (0 reactions) (1 assignee)TypeScript (74,848 stars) (10,221 forks)batch import
buggithelp wanted

Description

Hi, In the source control view, using Git, if I try to discard changes on a file that is currently open (specifically, a CSV file open in Excel), I get an error message that is about arguments being wrong. I would imagine it should give me a file is open error instead of something about arguments.

Contributor guide