mirror of
https://github.com/git/git.git
synced 2024-11-05 16:52:59 +01:00
1403959cc8
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
12 lines
425 B
Bash
Executable file
12 lines
425 B
Bash
Executable file
#!/bin/sh
|
|
|
|
USAGE='[-p] [--max-count=<n>] [<since>..<limit>] [--pretty=<format>] [-m] [git-diff-tree options] [git-rev-list options]'
|
|
SUBDIRECTORY_OK='Yes'
|
|
. git-sh-setup
|
|
|
|
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}
|