Skip to content

Support a {{diffContext}} template variable in external diff command#5841

Open
stefanhaller wants to merge 1 commit into
masterfrom
context-size-template-for-diff-renderers
Open

Support a {{diffContext}} template variable in external diff command#5841
stefanhaller wants to merge 1 commit into
masterfrom
context-size-template-for-diff-renderers

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

Useful for passing the context size to external diff commands like difftastic, like so:

git:
  pagers:
    - externalDiffCommand: difft --color=always --context={{diffContext}}

See #5527 (comment).

Useful for passing the context size to external diff commands like
difftastic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant