diff options
Diffstat (limited to 'git-whatchanged.sh')
-rwxr-xr-x | git-whatchanged.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git-whatchanged.sh b/git-whatchanged.sh new file mode 100755 index 000000000..85a49fcd8 --- /dev/null +++ b/git-whatchanged.sh @@ -0,0 +1,7 @@ +#!/bin/sh +rev_list_args=$(git-rev-parse --sq --default HEAD --revs-only "$@") && +diff_tree_args=$(git-rev-parse --sq --no-revs "$@") && + +eval "git-rev-list $rev_list_args" | +eval "git-diff-tree --stdin --pretty -r $diff_tree_args" | +LESS="$LESS -S" ${PAGER:-less} |