git-am: make it easier after fixing up an unapplicable patch.
[git/gitweb.git] / git-whatchanged.sh
blob85a49fcd8e7754cc37960c997a200b61c85892b4
1 #!/bin/sh
2 rev_list_args=$(git-rev-parse --sq --default HEAD --revs-only "$@") &&
3 diff_tree_args=$(git-rev-parse --sq --no-revs "$@") &&
5 eval "git-rev-list $rev_list_args" |
6 eval "git-diff-tree --stdin --pretty -r $diff_tree_args" |
7 LESS="$LESS -S" ${PAGER:-less}