Much shorter version of dlog alias

Use `-c` to set config instead of environment variable, so no need for building shell command
pull/676/merge
Ivan Kuchin 2024-04-04 12:14:36 +07:00 committed by Wilfred Hughes
parent 148ccf8be0
commit 287ddd7b42
1 changed files with 1 additions and 1 deletions

@ -71,7 +71,7 @@ equivalent to the one-off commands shown above.
```ini
# `git dlog` to show `git log -p` with difftastic.
[alias]
dlog = "!f() { : git log ; GIT_EXTERNAL_DIFF=difft git log -p --ext-diff $@; }; f"
dlog = "-c diff.external=difft log -p --ext-diff"
```
## Difftastic By Default