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

[PATCH 1/2] log-tree: show_log() should respect the setting of diffopt->line_termination

From
RARyan Anderson <ryan@michonline.com>
Date
Aug 7, 2006, 12:11 UTC
Message-ID
<1154952684908-git-send-email-ryan@michonline.com>
In-Reply-To
<20060807115000.GC15477@h4x0r5.com>
Signed-off-by: Ryan Anderson <ryan@michonline.com>
---
 log-tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/log-tree.c b/log-tree.c
index b67b8dd..05ede0c 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -59,7 +59,7 @@ void show_log(struct rev_info *opt, cons
 		fputs(diff_unique_abbrev(commit->object.sha1, abbrev_commit), stdout);
 		if (opt->parents)
 			show_parents(commit, abbrev_commit);
-		putchar('\n');
+		putchar(opt->diffopt.line_termination);
 		return;
 	}
 
-- 
1.4.2.rc3.g6487-dirty
Previous: Ryan AndersonNext: Ryan Anderson
Message 4 of 11 in “git-annotate bug report”
  1. Jeff KingAug 3, 2006
  2. Ryan AndersonAug 3, 2006
  3. Ryan AndersonAug 7, 2006
  4. 1/2 log-tree: show_log() should respect the setting of diffopt->line_terminationRyan Anderson, Aug 7, 2006
  5. 2/2 annotate: Fix bug when parsing merges with differing real and logical parents.Ryan Anderson, Aug 7, 2006
  6. Junio C HamanoAug 7, 2006
  7. Ryan AndersonAug 7, 2006
  8. Annotate another problem reportJunio C Hamano, Aug 7, 2006
  9. Ryan AndersonAug 7, 2006
  10. Junio C HamanoAug 7, 2006
  11. Junio C HamanoAug 8, 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.