X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-whatchanged.sh;h=b170f74a94e42dbf82f2e94b831f1cf6b49a2b4c;hb=e921fb82cf6fb4a5f138ec9d27bc37c658336a8c;hp=85a49fcd8e7754cc37960c997a200b61c85892b4;hpb=56fc63193975edd4b9f520b6c65c2b97ecd8ee38;p=git.git diff --git a/git-whatchanged.sh b/git-whatchanged.sh index 85a49fcd..b170f74a 100755 --- a/git-whatchanged.sh +++ b/git-whatchanged.sh @@ -1,4 +1,9 @@ #!/bin/sh + +USAGE='[-p] [--max-count=] [..] [--pretty=] [-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 "$@") &&