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

6 lines
159 B
Bash
Executable File

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