hg: tune the [diff] config

This commit is contained in:
2025-06-18 00:43:36 +00:00
parent 42e863cb93
commit e241a1f78f

View File

@@ -13,6 +13,8 @@
"ref" "ref"
]; ];
fs.".config/hg/hgrc".symlink.text = '' fs.".config/hg/hgrc".symlink.text = ''
# `hg config` => to show the finalized config
[extensions] [extensions]
# Mercurial Queues (MQ) extension adds patch-stack support to mercurial. # Mercurial Queues (MQ) extension adds patch-stack support to mercurial.
# MQ is shipped in mercurial, but not enabled by default. # MQ is shipped in mercurial, but not enabled by default.
@@ -20,10 +22,11 @@
mq = mq =
[diff] [diff]
# TODO: how much of this is default? # showfunc = True
showfunc = True # `diff.git = True`: render diffs with `diff --git` instead of `diff -r`
git = True git = True
unified = 10 # `diff.unified = N`: show N lines of context (else, use default as per `diff`)
# unified = 10
[alias] [alias]
q = qseries -s -v q = qseries -s -v