Get SHA-1 in none detached state
subesokun opened this issue · 0 comments
subesokun commented
Currently it's only possible to read out the SHA-1 only if the repo is in detached state. For a feature I want to implement in atom-tree-view-git-status I'd need to be able to read out the SHA-1 of the current HEAD also in case the repo is not detached.
Could you provide an additional function like getHeadSHA
or similar?