Introduction
Introduction Statistics Contact Development Disclaimer Help
talign filesize header right, minor code-style - stagit - static git page gener…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit a7dd8c5f08f3e5c30cafdd8bcb4cc3f344e2d5cd
parent 9c7e2c56784e353adf143d887d84c0e967dba7b9
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 26 Dec 2015 12:56:56 +0100
align filesize header right, minor code-style
Diffstat:
M urmoms.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/urmoms.c b/urmoms.c
t@@ -561,8 +561,8 @@ writeatom(FILE *fp)
git_oid id;
size_t i, m = 100; /* max */
- fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", fp);
- fputs("<feed xmlns=\"http://www.w3.org/2005/Atom\">\n<title>", fp);
+ fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ "<feed xmlns=\"http://www.w3.org/2005/Atom\">\n<title>", fp);
xmlencode(fp, name, strlen(name));
fputs(", branch master</title>\n<subtitle>", fp);
t@@ -696,9 +696,9 @@ writefiles(FILE *fp)
git_object *obj = NULL;
git_commit *commit = NULL;
- fputs("<table id=\"files\"><thead>\n"
- "<tr><td>Mode</td><td>Name</td><td>Size</td></tr>\n"
- "</thead><tbody>\n", fp);
+ fputs("<table id=\"files\"><thead>\n<tr>"
+ "<td>Mode</td><td>Name</td><td class=\"num\">Size</td>"
+ "</tr>\n</thead><tbody>\n", fp);
if (git_revparse_single(&obj, repo, "HEAD"))
return -1;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.