0

Trying to magit-bisect-start in Emacs source code with the bad commit being emacs-24.5 and good being emacs-25.1 does not seem to work. Nothing is shown in the Magit buffer.

Doing the same with other repos works fine.

Is there an issue with Emacs sources having too many commits or something?

1 Answer 1

1

Yes, it is most likely just the number of commits between the good and bad revisions. When I run the same bisect on my machine, it takes between five and ten seconds to finish.

The bulk of the time is probably being spent generating the log. Aside from profiling, I can think of two quick ways to test this: 1) stop the process with C-g and look at the state of the status buffer (is the log partially highlighted?), and 2) remove magit-insert-bisect-rest from magit-status-sections-hook to see if it still hangs for you.

1
  • Might be worth trying with magit-bisect-show-graph set to nil before removing magit-insert-bisect-rest completely.
    – npostavs
    Commented Oct 25, 2016 at 15:20

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.