brackets-userland / brackets-git

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

undefined #1306

Open samseralam opened 8 years ago

samseralam 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.2.0-15697 (linux), Git 1.9.1 & Brackets-Git 0.14.24

Error: Paths must be absolute: 'undefined.git/HEAD'
Error: Paths must be absolute: 'undefined.git/HEAD'
    at FileSystem._normalizePath (/filesystem/FileSystem.js:491:19)
    at FileSystem.resolve (/filesystem/FileSystem.js:583:35)
    at Object.eval [as resolve] (/filesystem/FileSystem.js:964:25)
    at addHeadToTheFileIndex (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/src/Branch.js:367:20)
    at file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/src/Branch.js:434:13
    at tryCatch1 (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/thirdparty/bluebird.js:4988:19)
    at Promise$_callHandler [as _callHandler] (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/thirdparty/bluebird.js:2333:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/thirdparty/bluebird.js:2349:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/thirdparty/bluebird.js:2521:14)
    at Promise$_fulfillPromises [as _fulfillPromises] (file:///home/oodles/.config/Brackets/extensions/user/zaggino.brackets-git/thirdparty/bluebird.js:2666:14)