trivial: use git-repo-config to detect if the test can be run on the repository
[gitweb.git] / git-whatchanged.sh
index 85a49fcd8e7754cc37960c997a200b61c85892b4..b170f74a94e42dbf82f2e94b831f1cf6b49a2b4c 100755 (executable)
@@ -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 "$@") &&