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

Re: Problem with git shortlog documentation

From
Jeff King <peff@peff.net>
Date
Dec 23, 2007, 17:18 UTC
Message-ID
<20071223171840.GA8799@sigill.intra.peff.net>
In-Reply-To
<476E6DA0.9000908@isy.liu.se>
On Sun, Dec 23, 2007 at 03:16:00PM +0100, Gustaf Hendeby wrote:
Show 5 quoted lines
> I was just looking through the documentation for git shortlog, and realized 
> there is a problem with FILES section close to the bottom.  In the version I 
> built of the man page (asciidoc 8.2.1, yes I used the compatibility define) 
> the filename .mailmap is missing, and the text starts with "If this file 
> exists, ...".
I mentioned this same issue a few weeks ago:
  <20071211124220.GA17929@sigill.intra.peff.net>

but got no response. Under modern asciidoc, it the man page looks like this:

.SH "FILES" .PP \.mailmap .RS 4 If this ...

which I would have thought would render fine, but doesn't (though I don't really know troff). Doing " .mailmap" looks OK.

However, the version of the manpages in Junio's origin/man has the awful "Example 1. .mailmap" generated by asciidoc, so it's clearly a bug-prone construct.

I think re-wording is a fine fix, at least for now.
> Something like this (would we then like to reindent this?  it would make the 
> change look much bigger), which seems to work with my asciidoc version:

If by "reindent" you mean not just "wrap the long line" but "the whole paragraph should start at the beginning of the line, since it's no longer part of the list element", then

Acked-by: Jeff King <peff@peff.net>
-Peff
Previous: Gustaf HendebyNext: Junio C Hamano
Message 2 of 5 in “Problem with git shortlog documentation”
  1. Gustaf HendebyDec 23, 2007
  2. Jeff KingDec 23, 2007
  3. Junio C HamanoDec 23, 2007
  4. Fix for missing line in man page rendered for git shortlogGustaf Hendeby, Dec 23, 2007
  5. Jeff KingDec 23, 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.