Skip to content

Commit

Permalink
Document "git log" refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Oct 5, 2021
1 parent 58fae15 commit 32afc2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Or if you do...
```
git config --global pager.diff riff
git config --global pager.show riff
git config --global pager.log riff
git config --global interactive.diffFilter riff
```

... then all future `git diff`s and `git show`s will be refined.
... then all future `git diff`, `git show` and `git log --patch` output will be
refined.

Or you can use `riff` as an alias for `diff`:

Expand Down Expand Up @@ -55,6 +57,7 @@ brew install walles/johan/riffdiff
```
git config --global pager.diff riff
git config --global pager.show riff
git config --global pager.log riff
git config --global interactive.diffFilter riff
```

Expand All @@ -67,6 +70,8 @@ Invoke `ci.sh` to run the same thing as CI.
Invoke `benchmark.py` to get numbers for how fast your current source code is
versus earlier releases.

Invoke `git log -p | cargo run --` to demo highlighting.

## Making a new release

Just invoke `./release.sh` and follow instructions.
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Colors diff output, highlighting the changed parts of every line.
Git integration:
git config --global pager.diff riff
git config --global pager.show riff
git config --global pager.log riff
git config --global interactive.diffFilter riff
Options:
Expand Down

0 comments on commit 32afc2e

Please sign in to comment.