diff options
Diffstat (limited to 'code-review-difftool')
-rwxr-xr-x | code-review-difftool | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/code-review-difftool b/code-review-difftool index 67cf21c..1451fa0 100755 --- a/code-review-difftool +++ b/code-review-difftool @@ -6,10 +6,7 @@ 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" +# TODO: Use `code-review-changed-files` instead of `git diff --name-only` +# TODO: Can't replace single dots as those could be part of a branch name +# vim -c 'tabdo Gdiff ${REVIEW_BASE/./}' -p $(git diff --name-only "$REVIEW_BASE") +vim -c 'tabdo Gdiff origin/master' -p $(git diff --name-only origin/master..) |