summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "$@") &&