Skip to main content

Module magit_revision_mode

Module magit_revision_mode 

Source
Expand description

Fold audit fix (MG.6/MG.7): *magit:commit:<sha>* revision view.

A read-only git show of one commit. Previously, magit-log’s <CR> wrote the same content to an uncleaned temp file in the repo workdir and opened it via a plain Effect::OpenBuffer — this is the real synthetic buffer the design always specified, shared by magit-log’s <CR> and magit-blame’s <CR>.

<CR> on a file line here (the --stat summary or a diff --git header) opens that file’s content AS OF THIS COMMIT (magit-file-revision-mode), not the live working-tree file — see magit_file_revision_mode’s doc comment for why.

Structs§

MagitRevisionMode
RevisionState

Type Aliases§

RevisionStatesHandle
MG.13: service alias for this mode’s per-buffer state (feedback_servicesregistry_arc_typeid).