git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] git-whatchanged: Add usage string

From
Fredrik Kuivinen <freku045@student.liu.se>
Date
Dec 15, 2005, 22:48 UTC
Message-ID
<20051215224838.GE14388@c165.ib.student.liu.se>
In-Reply-To
<20051215224350.GB14388@c165.ib.student.liu.se>
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
---
 git-whatchanged.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
1d3bc689dd66918b27432ad868592c9cc557f926
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 "$@") &&
 
-- 
0.99.9.GIT
Previous: Fredrik Kuivinen
Message 4 of 4 in “Usage string clean-up (diff, log and whatchanged)”
  1. 0/3 Usage string clean-up (diff, log and whatchanged)Fredrik Kuivinen, Dec 15, 2005
  2. 1/3 git-diff: Usage string clean-upFredrik Kuivinen, Dec 15, 2005
  3. 2/3 git-log: Add usage stringFredrik Kuivinen, Dec 15, 2005
  4. 3/3 git-whatchanged: Add usage stringFredrik Kuivinen, Dec 15, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.