I would like a way to press a key binding that limits the git log to the author of the current commit.
Pressing the same key again should clear the author field.
Note that I'm aware of how to do this manually by pressing
l-A
then selecting the authors name. However it's not clear how this can be automated, some kind of function to limit by author, then to clear that limit.The question is quite spesific as I'm not sure which part of magit needs to be customized to support this, if it involves invoking transient or not. I've read over the
magit-log.el
sources but it's still not clear to me how this should be done.Note that this question relates to: How to filter by author in magit-log?