I use several git accounts, so I have not set git config --global user.name / git config --global user.email and set the config on a per-project basis. Sadly, this leads to an error when activating blamer-mode:
Since (apply #'vc-git--run-command-string nil blamer--git-author-cmd) returns nil, the replace-regexp-in-string results in the Wrong type argument: arrayp, nil error.
I realize that this is kind of a corner case, but I would find it helpful to be able to use blamer in this situation.
I use several git accounts, so I have not set
git config --global user.name
/git config --global user.email
and set the config on a per-project basis. Sadly, this leads to an error when activatingblamer-mode
:The error occurs here:
https://github.com/Artawower/blamer.el/blob/3d9d12f5a7f31018efdb17a77da8277a3f5da0a6/blamer.el#L1017
Since
(apply #'vc-git--run-command-string nil blamer--git-author-cmd)
returnsnil
, thereplace-regexp-in-string
results in theWrong type argument: arrayp, nil
error.I realize that this is kind of a corner case, but I would find it helpful to be able to use blamer in this situation.