diff options
Diffstat (limited to 'git-whatchanged')
-rwxr-xr-x | git-whatchanged | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git-whatchanged b/git-whatchanged new file mode 100755 index 0000000000..85a49fcd8e --- /dev/null +++ b/git-whatchanged @@ -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} |