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

[PATCH 4/4] git-log: update man documentation for --count

From
Lawrence Siebert <lawrencesiebert@gmail.com>
Date
Jul 2, 2015, 05:38 UTC
Message-ID
<1435815536-30611-4-git-send-email-lawrencesiebert@gmail.com>
In-Reply-To
<1435815536-30611-1-git-send-email-lawrencesiebert@gmail.com>

I'm not altogether sure the best way to update the internal usage from git-log -h, but this at least updates the man page.

Signed-off-by: Lawrence Siebert <lawrencesiebert@gmail.com>
---
 Documentation/git-log.txt          | 2 ++
 Documentation/rev-list-options.txt | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 5692945..0e10e44 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -90,6 +90,8 @@ include::line-range-format.txt[]
 Paths may need to be prefixed with ``\-- '' to separate them from
 options or the revision range, when confusion arises.
 
+
+:git-log: 1
 include::rev-list-options.txt[]
 
 include::pretty-formats.txt[]
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 77ac439..f4e15fb 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -797,7 +797,7 @@ This implies the `--topo-order` option by default, but the
 	in between them in that case. If `<barrier>` is specified, it
 	is the string that will be shown instead of the default one.
 
-ifdef::git-rev-list[]
+ifdef::git-log,git-rev-list[]
 --count::
 	Print a number stating how many commits would have been
 	listed, and suppress all other output.  When used together
-- 
1.9.1
Previous: Remi Galan AlfonsoNext: Remi Galan Alfonso
Message 7 of 10 in “list-object: add get_commit_count function”
  1. 1/4 list-object: add get_commit_count functionLawrence Siebert, Jul 2, 2015
  2. 2/4 log: add --count option to git logLawrence Siebert, Jul 2, 2015
  3. Remi Galan AlfonsoJul 2, 2015
  4. Lawrence SiebertJul 2, 2015
  5. 3/4 log --count: added testLawrence Siebert, Jul 2, 2015
  6. Remi Galan AlfonsoJul 2, 2015
  7. 4/4 git-log: update man documentation for --countLawrence Siebert, Jul 2, 2015
  8. Remi Galan AlfonsoJul 2, 2015
  9. Junio C HamanoJul 3, 2015
  10. Jeff KingJul 3, 2015

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.