I have a branch named tests and the git repository has a directory named tests. This results in the git log --first-parent --max-count=30 --format=%H tests call failing. According to the error output from git this can be resolved by appending -- to the existing command to denote that the tests being referenced is a revision and not a file.
Describe the bug
I have a branch named
tests
and the git repository has a directory namedtests
. This results in thegit log --first-parent --max-count=30 --format=%H tests
call failing. According to the error output fromgit
this can be resolved by appending--
to the existing command to denote that thetests
being referenced is a revision and not a file.Your Environment
gh --version
): 2.12.1gh extension list
): 0.5.5