Previous: , Up: Diffing   [Contents][Index]


5.4.4 Revision Buffer

User Option: magit-revision-insert-related-refs

Whether to show related branches in revision buffers.

User Option: magit-revision-show-gravatars

Whether to show gravatar images in revision buffers.

If nil, then don’t insert any gravatar images. If t, then insert both images. If author or committer, then insert only the respective image.

If you have customized the option magit-revision-header-format and want to insert the images then you might also have to specify where to do so. In that case the value has to be a cons-cell of two regular expressions. The car specifies where to insert the author’s image. The top half of the image is inserted right after the matched text, the bottom half on the next line in the same column. The cdr specifies where to insert the committer’s image, accordingly. Either the car or the cdr may be nil."

User Option: magit-revision-use-hash-sections

Whether to turn hashes inside the commit message into sections.

If non-nil, then hashes inside the commit message are turned into commit sections. There is a trade off to be made between performance and reliability:

If nil, then no hashes are turned into sections, but you can still visit the commit at point using "RET".

The diffs shown in the revision buffer may be automatically restricted to a subset of the changed files. If the revision buffer is displayed from a log buffer, the revision buffer will share the same file restriction as that log buffer (also see the command magit-diff-toggle-file-filter). Note, however, that the log’s file restriction will be ignored when magit-log-arguments includes --follow. In this case, the -u argument of the log transient can be used to show the file-restricted diffs inline.

If the revision buffer is not displayed from a log buffer, the file restriction is determined by the file restriction in the repository’s diff buffer, if it exists, and the value of the option magit-use-sticky-arguments.


Previous: , Up: Diffing   [Contents][Index]