GitProcessor: run git branch
from a specified directory instead of working directory
#1538
Labels
git branch
from a specified directory instead of working directory
#1538
When running a script from cron it is very possible that the working directory will not match the script directory. In this case, instead of logging the git version, GitProcessor logs this:
This happens every time something is logged. Not only this is unhelpful, but it is also annoying because analyzing such logs becomes an issue:
fatal
is a keyword by which one might want to filter their logs.It would be nice to make it possible to specify the directory in which
git branch
should be run, for example via a configuration value passed to the constructor.The text was updated successfully, but these errors were encountered: