about summary refs log tree commit diff
path: root/ui-diff.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-11 13:17:13 +0100
committerLars Hjemli <hjemli@gmail.com>2007-11-11 13:17:13 +0100
commita7cf406c802394460cb14c79f3f43582d1428a45 (patch)
tree71f3069c782698ae2972459258d551055f502c4f /ui-diff.c
parentMerge branch 'stable' (diff)
parentSet commit date on snapshot contents (diff)
downloadcgit-pink-a7cf406c802394460cb14c79f3f43582d1428a45.tar.gz
cgit-pink-a7cf406c802394460cb14c79f3f43582d1428a45.zip
Merge branch 'lh/testsuite'
* lh/testsuite:
  Set commit date on snapshot contents
  Fix html error detected by test-suite
  Create initial testsuite
Diffstat (limited to '')
-rw-r--r--ui-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-diff.c b/ui-diff.c
index ac9a3fa..4fcf852 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -141,7 +141,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, const char *prefi
 		if (!commit2 || parse_commit(commit2))
 			cgit_print_error(fmt("Bad commit: %s", sha1_to_hex(old_rev_sha1)));
 	}
-	html("<table class='diff'>");
+	html("<table summary='diff' class='diff'>");
 	html("<tr><td>");
 	cgit_diff_tree(old_rev_sha1, new_rev_sha1, filepair_cb, prefix);
 	html("</td></tr>");