gajus/gitinfo

When checkout in a commit, getting branch or hash throws an exception

Open

#20 aperta il 30 ago 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (5 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (47 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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();

Guida contributor