When I am using magit and open a a certain commit containing hunks with very long lines (a minified javascript file, css ...), emacs does not respond anymore or it becomes very slowly, luckily still responds to C-g.

If I manage hide this hunks in the Magit Rev buffer emacs behaves nicely again.

Is there a way to tell magit, if the lines for this hunk are too long, don't show this hunk?

This might be related to: How do I prevent extremely long lines making Emacs slow?

1 Answer 1


No there is no such feature, but there are plans to make Magit faster.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.