summaryrefslogtreecommitdiff
path: root/git-whatchanged.sh
diff options
context:
space:
mode:
authorLibravatar Fredrik Kuivinen <freku045@student.liu.se>2005-12-15 23:48:38 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2005-12-15 16:02:25 -0800
commit1403959cc804131a91f15117c7afd6822d0fad90 (patch)
tree2309bd023941eabb3553ea6d023ba37deb9b8f77 /git-whatchanged.sh
parentgit-log: Add usage string (diff)
downloadtgif-1403959cc804131a91f15117c7afd6822d0fad90.tar.xz
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 85a49fcd8e..b170f74a94 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 "$@") &&