gajus/gitinfo
View on GitHubWhen checkout in a commit, getting branch or hash throws an exception
Open
#20 opened on Aug 30, 2019
enhancementhelp wanted
Repository metrics
- Stars
- (47 stars)
- PR merge metrics
- (PR metrics pending)
Description
Hi Gajus,
Thanks for the work on this repo, it is becoming quite useful.
I have detected that when we are checked out at a commit hash, the following methods throw an exception:
gitinfo.getBranchName();
gitinfo.getHeadSha();