You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to run gitlist on an ancient system where /usr/bin/git is version 1.7.1.
As a result, I'm getting an error unknown option 'short' when the code tries to call git symbolic-ref --short HEAD.
Since git_path is provided in the example config.yml, I assumed setting that would fix my issue, however, when I set it to the path of a more recent version of git, the error persists.
As far as I can tell, the git_path attribute in config.yml is unused. I'd expect src/SCM/System/Git/CommandLine.php to have some code to get the value from the config, but it doesn't. I also don't find anything in the ExecutableFinder class. I do see another reference to git_path in config/services.yml that seems to suggest that it is used to set $path, but it's not clear to me how this is supposed to work.
As a workaround, I manually set $path in the __construct function, and my errors have stopped.
The text was updated successfully, but these errors were encountered:
I'm attempting to run gitlist on an ancient system where /usr/bin/git is version 1.7.1.
As a result, I'm getting an error
unknown option 'short'
when the code tries to callgit symbolic-ref --short HEAD
.Since
git_path
is provided in the exampleconfig.yml
, I assumed setting that would fix my issue, however, when I set it to the path of a more recent version ofgit
, the error persists.As far as I can tell, the
git_path
attribute inconfig.yml
is unused. I'd expectsrc/SCM/System/Git/CommandLine.php
to have some code to get the value from the config, but it doesn't. I also don't find anything in theExecutableFinder
class. I do see another reference togit_path
inconfig/services.yml
that seems to suggest that it is used to set$path
, but it's not clear to me how this is supposed to work.As a workaround, I manually set
$path
in the__construct
function, and my errors have stopped.The text was updated successfully, but these errors were encountered: