Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw ruler and box around headers - rebased #497

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Commits on Oct 18, 2024

  1. Draw ruler and box around headers

    Rulers are drawn around the first level of headers, and boxes around the
    second level of headers, if any.
    The `diff-so-fancy.rulerWidth` config still applies, but only to the
    rulers. Boxes have just the size of the text inside them.
    `git show` and `git log` have two levels of headers: (1) commit, and (2)
    meta (e.g. `modified: diff-so-fancy`). `git diff` only has one level of
    headers: meta.
    This allows for a better hierarchical view of commits specifically, with
    commit lines having a configurable wider ruler around them and meta
    lines ("children" of commits) having a shorter box around them.
    ericbn authored and Svalorzen committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a70765e View commit details
    Browse the repository at this point in the history