gajus/gitinfo

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

Open

#20 ouverte le 30 août 2019

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (5 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (47 stars)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur