diff options
-rwxr-xr-x | code-review | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/code-review b/code-review new file mode 100755 index 0000000..df91825 --- /dev/null +++ b/code-review @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +REVIEW_BASE=master.. + +if [ $# -gt 1 ]; then + REVIEW_BASE="$1" +fi + +git -c difftool.vdwrap.cmd='vdwrap $LOCAL $REMOTE' \ + -c diff.tool=vdwrap \ + difftool -t vdwrap --dir-diff "$REVIEW_BASE" + +# git diff --stat "$REVIEW_BASE" |