summaryrefslogtreecommitdiff
path: root/git-whatchanged.sh
diff options
context:
space:
mode:
authorFredrik Kuivinen <freku045@student.liu.se>2005-12-15 22:48:38 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-16 00:02:25 (GMT)
commit1403959cc804131a91f15117c7afd6822d0fad90 (patch)
tree2309bd023941eabb3553ea6d023ba37deb9b8f77 /git-whatchanged.sh
parent2a58a9a92ea275c11a83269425677c95c532cc18 (diff)
downloadgit-1403959cc804131a91f15117c7afd6822d0fad90.zip
git-1403959cc804131a91f15117c7afd6822d0fad90.tar.gz
git-1403959cc804131a91f15117c7afd6822d0fad90.tar.bz2
git-whatchanged: Add usage string
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-whatchanged.sh')
-rwxr-xr-xgit-whatchanged.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/git-whatchanged.sh b/git-whatchanged.sh
index 85a49fc..b170f74 100755
--- a/git-whatchanged.sh
+++ b/git-whatchanged.sh
@@ -1,4 +1,9 @@
#!/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 "$@") &&