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

[PATCH] Fix for missing line in man page rendered for git shortlog

From
Gustaf Hendeby <hendeby@isy.liu.se>
Date
Dec 23, 2007, 18:34 UTC
Message-ID
<1198434891-25847-1-git-send-email-hendeby@isy.liu.se>
In-Reply-To
<20071223171840.GA8799@sigill.intra.peff.net>

This is a work around for a asciidoc/xmlto problem with lines starting with a '.'. Until a proper fix for this is found, rewrite problematic sections.

Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Acked-by: Jeff King <peff@peff.net>
---
Jeff King wrote:
Show 5 quoted lines
> On Sun, Dec 23, 2007 at 03:16:00PM +0100, Gustaf Hendeby wrote:
>
> I mentioned this same issue a few weeks ago:
>
>   <20071211124220.GA17929@sigill.intra.peff.net>

Ah, I missed that one. Unfortunately, the lack of answers indicate it isn't trivial to find a general fix to the problem. :(

Show 10 quoted lines
> 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>
I hope I understood corretly when I added your ACK to the patch.
Thanks,
	Gustaf
 Documentation/git-shortlog.txt |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt
index e14720b..854bf7a 100644
--- a/Documentation/git-shortlog.txt
+++ b/Documentation/git-shortlog.txt
@@ -37,16 +37,14 @@ OPTIONS
 
 FILES
 -----
-
-.mailmap::
-	If this file exists, it will be used for mapping author email
-	addresses to a real author name. One mapping per line, first
-	the author name followed by the email address enclosed by
-	'<' and '>'. Use hash '#' for comments. Example:
-
-		# Keep alphabetized
-		Adam Morrow <adam@localhost.localdomain>
-		Eve Jones <eve@laptop.(none)>
+If the file .mailmap exists, it will be used for mapping author email
+addresses to a real author name. One mapping per line, first the
+author name followed by the email address enclosed by '<' and '>'. Use
+hash '#' for comments. Example:
+
+	# Keep alphabetized
+	Adam Morrow <adam@localhost.localdomain>
+	Eve Jones <eve@laptop.(none)>
 
 Author
 ------
-- 
1.5.4.rc1.22.g4b71
Previous: Junio C HamanoNext: Jeff King
Message 4 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.