emacs-evil/evil-magit

Magit-log-select very slow on big projects (e.g. Linux kernel)

derkling opened this issue · 1 comments

Using magit-log-select on big git repositories (e.g. Linux kernel) for example to select a commit for an "instant fixup" is instead very slow.
This seems to be due to:

(put 'magit-log-select-mode 'magit-log-default-arguments
     '("--graph" "-n256" "--decorate"))

where we enable by default --graph which is known to sensibly slow down logs especially in projects with many merge commits.

Would it be possible to make these options configurable?

Maybe it's just my admittedly limited knowledge of elisp but I was not able to find a way to configure and change at run-time the options above. Is it possible via an hook or some other configuration file snippet?

Posted similar issue on main project: magit/magit#3944