gajus/gitinfo

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

Open

#20 aberto em 30 de ago. de 2019

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (47 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador