This release brings a new and more convenient way to change delta options in a one-off git command: using git -c
. Here's an example:
git -c delta.line-numbers=false -c delta.max-line-distance=0.8 show
Thanks to @wyuenho for pointing out that this should be supported. See #493 and #495.
One note: while quotes around color hex codes are required in gitconfig, they can be omitted in the git -c
context
git -c delta.plus-style='syntax "#aa0000"' show
git -c delta.plus-style='syntax #aa0000' show