Skip to content

Commit

Permalink
Much shorter version of dlog alias
Browse files Browse the repository at this point in the history
Use `-c` to set config instead of environment variable, so no need for building shell command
  • Loading branch information
toy authored and Wilfred committed Apr 8, 2024
1 parent 148ccf8 commit 287ddd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/src/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 287ddd7

Please sign in to comment.