dotfiles/.local/bin/scripts/git-cdiff

6 lines
159 B
Plaintext
Raw Normal View History

#!/bin/sh
# create a diff of diffs - https://stackoverflow.com/a/23527631
2021-04-11 20:47:51 +00:00
#dif "${@:3}" <(git show $1) <(git show $2)
2021-04-11 20:47:51 +00:00
git range-diff $1~..$1 $2~..$2 "${@:3}"