From: Fredrik Kuivinen Date: Thu, 15 Dec 2005 22:48:38 +0000 (+0100) Subject: git-whatchanged: Add usage string X-Git-Tag: v1.0.0^2~35 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1403959cc804131a91f15117c7afd6822d0fad90;p=git.git git-whatchanged: Add usage string Signed-off-by: Fredrik Kuivinen Signed-off-by: Junio C Hamano --- diff --git a/git-whatchanged.sh b/git-whatchanged.sh index 85a49fcd8..b170f74a9 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 "$@") &&