brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 193 forks source link

Discard changes to a file failed #1231

Closed AirtonCabral closed 8 years ago

AirtonCabral commented 8 years ago

[I'm supposed to describe steps to replicate my issue here and if I don't do that, I understand that my issue will be probably ignored.]


Brackets 1.5.0-16538 (win), Git 2.6.2.windows.1 & Brackets-Git 0.14.32

Discard changes to a file failed

Error: error: unable to create file index.html (Permission denied)
call: git checkout index.html
Error: error: unable to create file index.html (Permission denied)
    at Object.exports.toError (file:///C:/Users/airton.cabral/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:162:19)
    at NodeConnection.<anonymous> (file:///C:/Users/airton.cabral/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:185:44)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:556:26911)
    at Object.k.fireWith (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:556:27724)
    at NodeConnection._receive (/utils/NodeConnection.js:498:34)