aboutsummaryrefslogtreecommitdiffstats
path: root/code-review-difftool
blob: 67cf21c9206fcdb4be1f44dcca9b767c2280f255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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"

# tabdo :wincmd b

# git diff --stat "$REVIEW_BASE"