git: add extraArgs option for difftastic
This option will cover any other arguments that aren't made available with dedicated options.
This commit is contained in:
parent
1652349e57
commit
7d3d323e90
3 changed files with 28 additions and 9 deletions
|
|
@ -1,9 +1,9 @@
|
|||
[diff]
|
||||
external = "@difftastic@/bin/difft --color always --background dark --display inline --context 5"
|
||||
external = "@difftastic@/bin/difft --color always --background dark --display inline --context 5 --tab-width=8 --sort-paths"
|
||||
tool = "difftastic"
|
||||
|
||||
[difftool "difftastic"]
|
||||
cmd = "@difftastic@/bin/difft --color always --background dark --display inline --context 5 $LOCAL $REMOTE"
|
||||
cmd = "@difftastic@/bin/difft --color always --background dark --display inline --context 5 --tab-width=8 --sort-paths $LOCAL $REMOTE"
|
||||
|
||||
[gpg]
|
||||
format = "openpgp"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@
|
|||
color = "always";
|
||||
context = 5;
|
||||
display = "inline";
|
||||
extraArgs = [
|
||||
"--tab-width=8"
|
||||
"--sort-paths"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue