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

Re: [PATCH] Include rev-list options in git-log manpage.

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 18, 2008, 07:21 UTC
Message-ID
<7vejcfiop4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080117214425.GP29972@genesis.frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 11 quoted lines
> It seems that all the git-rev-list options (--grep, --author, etc) were missing
> from the git-log manpage. This can be quite problematic if one does not know
> that git-log accepts the options of git-rev-list.
>
> So move these options to a separate file and include it from both
> git-rev-list.txt and git-log.txt.
>
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
>
> Noticed by tsuna on IRC. I hope this is okay for 1.5.4.

Have you generated documentation with and without patch and run diff between them?

There is an obvious duplicated inclusion of pretty-options.txt[] in git-log.{1,html}.

In addition, this part
Show 6 quoted lines
> -Commit Formatting
> -~~~~~~~~~~~~~~~~~
> -
> -Using these options, linkgit:git-rev-list[1] will act similar to the
> -more specialized family of commit log tools: linkgit:git-log[1],
> -linkgit:git-show[1], and linkgit:git-whatchanged[1]

is _clearly_ written for git-rev-list and unsuitable for any of the commands listed above.

git-log manual page has been saying that "This manual page describes only the most frequently used options." I would agree that it is a laudable goal to replace that sentence with an included common source text, but there needs to be a bit more careful copyediting than your a patch.

Previous: Miklos VajnaNext: Miklos Vajna
Message 2 of 10 in “Include rev-list options in git-log manpage.”
  1. Include rev-list options in git-log manpage.Miklos Vajna, Jan 17, 2008
  2. Junio C HamanoJan 18, 2008
  3. Include rev-list options in git-log manpage.Miklos Vajna, Jan 18, 2008
  4. Johannes SixtJan 18, 2008
  5. Include rev-list options in git-log manpage.Miklos Vajna, Jan 18, 2008
  6. Junio C HamanoJan 18, 2008
  7. Junio C HamanoJan 18, 2008
  8. Include rev-list options in git-log manpage.Miklos Vajna, Jan 18, 2008
  9. Include rev-list options in git-log manpage.Miklos Vajna, Jan 18, 2008
  10. Junio C HamanoJan 18, 2008

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.