The contents of status buffers is controlled using the hook
magit-status-sections-hook
. See Section Hooks to learn about such
hooks and how to customize them.
This hook is run to insert sections into a status buffer.
The functions described in this section, and the functions
magit-insert-status-headers
and magit-insert-untracked-files
,
which are described in subsequent sections, are members of this
hook.
Some additional functions that can be added to this hook, but are by default added to another hooks, are listed in References Buffer.
Insert section for the on-going merge. Display the heads that are being merged. If no merge is in progress, do nothing.
Insert section for the on-going rebase sequence. If no such sequence is in progress, do nothing.
Insert section for the on-going patch applying sequence. If no such sequence is in progress, do nothing.
Insert section for the on-going cherry-pick or revert sequence. If no such sequence is in progress, do nothing.
While bisecting, insert section with output from git bisect
.
While bisecting, insert section visualizing the bisect state.
While bisecting, insert section logging bisect progress.
Insert section showing unstaged changes.
Insert section showing staged changes.
Insert the stashes
section showing reflog for "refs/stash".
If optional REF is non-nil show reflog for that instead.
If optional HEADING is non-nil use that as section heading
instead of "Stashes:".
Insert section showing commits that haven’t been pulled from the upstream branch yet.
Insert section showing commits that haven’t been pulled from the push-remote branch yet.
Insert section showing commits that haven’t been pushed to the upstream yet.
Insert section showing commits that haven’t been pushed to the push-remote yet.