gajus/gitinfo

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

Open

#20 geöffnet am 30. Aug. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (5 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (47 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide