atom / git-utils

Git Node Module
http://atom.github.io/git-utils
MIT License
166 stars 59 forks source link

Status Code Number Means? #85

Closed vnpnlz closed 6 years ago

vnpnlz commented 6 years ago

I am not sure if the status number I am getting using the getStatus() method is a git status code or it is a standard response of this app? I have 3 files for testing, the modified file has 256 status number, the deleted file has 512 and created file has 128. Someone enlighten me :) thanks!

thomasjo commented 6 years ago

Not well documented, but you can find the meaning behind the numbers here: https://github.com/atom/git-utils/blob/ad8c620d9e899136a85a2eadcde5bdad3cd9c67b/src/git.js#L5-L14