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

[PATCH] Include diff options in the git-log manpage

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Nov 1, 2007, 14:57 UTC
Message-ID
<1193929060-6183-2-git-send-email-vmiklos@frugalware.org>
In-Reply-To
<1193929060-6183-1-git-send-email-vmiklos@frugalware.org>
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

Recently I wanted to see what git log -M does but actually I was not able to find it in the manpage, finally figured out that all the diff options are missing from here.

Removing -p as it's already in diff-options.txt.

If this patch OK, then I would like to send a similar patch to git-rev-list.txt, too.

 Documentation/git-log.txt |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 5ec547c..4b1b982 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -27,6 +27,8 @@ OPTIONS
 
 include::pretty-options.txt[]
 
+include::diff-options.txt[]
+
 -<n>::
 	Limits the number of commits to show.
 
@@ -43,9 +45,6 @@ include::pretty-options.txt[]
 	commit.  This  option gives a better overview of the
 	evolution of a particular branch.
 
--p::
-	Show the change the commit introduces in a patch form.
-
 -g, \--walk-reflogs::
 	Show commits as they were recorded in the reflog. The log contains
 	a record about how the tip of a reference was changed.
-- 
1.5.3.5
Previous: Miklos VajnaNext: Miklos Vajna
Message 2 of 8 in “Document that using -M without other diff options is not a good idea”
  1. Document that using -M without other diff options is not a good ideaMiklos Vajna, Nov 1, 2007
  2. Include diff options in the git-log manpageMiklos Vajna, Nov 1, 2007
  3. Miklos VajnaNov 12, 2007
  4. Miklos VajnaDec 4, 2007
  5. Junio C HamanoDec 4, 2007
  6. Junio C HamanoDec 5, 2007
  7. Johannes SchindelinNov 1, 2007
  8. Miklos VajnaNov 1, 2007

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.