read https://github.com/zaggino/brackets-git/pull/196/files#r10367414