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

[PATCH] Beautifulise git-show output

From
Bbeber.mailing@gmail.com <beber.mailing@gmail.com>
Date
Jul 4, 2006, 22:34 UTC
Message-ID
<11520525682686-git-send-email-beber.mailing@gmail.com>
From: Bertrand Jacquin (Beber) <beber.mailing@gmail.com>
diff --git a/log-tree.c b/log-tree.c
index ebb49f2..55f77ad 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -164,7 +164,7 @@ int log_tree_diff_flush(struct rev_info 
 	}
 
 	if (opt->loginfo && !opt->no_commit_id)
-		show_log(opt, opt->loginfo, opt->diffopt.with_stat ? "---\n" : "\n");
+		show_log(opt, opt->loginfo, opt->diffopt.with_stat ? "\n---\n" : "\n");
 	diff_flush(&opt->diffopt);
 	return 1;
 }
-- 
1.4.1
Next: Junio C Hamano
Message 1 of 3 in “Beautifulise git-show output”
  1. Beautifulise git-show outputbeber.mailing@gmail.com, Jul 4, 2006
  2. Junio C HamanoJul 4, 2006
  3. Bertrand JacquinJul 4, 2006

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.