3

The "Recent commits" section in the status view shows short commit checksums plus the subject of the commit. How can I also show the author of each commit?

1 Answer 1

5

Turn on the "log margin" using L L. As you can see the L prefix features other margin related bindings as well.

This is mostly intended for buffers showing only logs or to be enabled only briefly. Of course you can also permanently enable it for the status buffer, but then you also permanently waste space in the margin of lines that have nothing that they could display there.

To enable the margin permanently and to control what is shown by default and how, see the options in the magit-margin group.

Also see the Log Margin section in the manual.

1
  • Hi, I am setting up magit-log-margin to (t age-abbreviated magit-log-margin-width t 30) - so with INIT to non-nil - but log-margin is still not displayed by default, i.e. I have to turn the "log margin" on using L L, is there a way to display it by default ?
    – ldc
    Jan 21, 2022 at 9:36

Your Answer

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

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