emacs-evil / evil-magit

Black magic or evil keys for magit
https://github.com/justbur/evil-magit
GNU General Public License v3.0
272 stars 16 forks source link

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

Closed derkling closed 4 years ago

derkling commented 4 years ago

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?

derkling commented 4 years ago

Posted similar issue on main project: https://github.com/magit/magit/issues/3944