[PATCH 8/8] fix html error in diff output for binary files

zwinkau at kit.edu zwinkau at kit.edu
Tue Jul 1 09:40:33 CEST 2014


From: Matthias Braun <matze at braunis.de>

---
 ui-diff.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui-diff.c b/ui-diff.c
index eeeeb80..b7bf777 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -108,6 +108,7 @@ static void print_fileinfo(struct fileinfo *info)
 	if (info->binary) {
 		htmlf("bin</td><td class='graph'>%ld -> %ld bytes",
 		      info->old_size, info->new_size);
+		html("</td></tr>\n");
 		return;
 	}
 	htmlf("%d", info->added + info->removed);
-- 
1.9.1



More information about the CGit mailing list