stagit

fix link in stagit-index, update documentation, add TODO

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 70ec8cc parent: a1c60fc
3 files changed, 9 insertions(+), 3 deletions(-)
MTODO+5-1
Mstagit-index.c+1-1
Mstagit.1+3-1
M · TODO +5, -1
 1@@ -2,9 +2,13 @@ performance:
 2 - optimize git_diff_get_stats.
 3 - speed up generating files.
 4 
 5+cleanup:
 6+- simplify writebranches and writetags, just use git_reference_*,
 7+  it should kill some lines.
 8+
 9 layout:
10 - make top menu look nicer in links/lynx again.
11-- show tags in log.
12+? show tags in log.
13 
14 documentation:
15 - improve mandoc pages.
M · stagit-index.c +1, -1
1@@ -145,7 +145,7 @@ writelog(FILE *fp)
2 
3 	fputs("<tr><td><a href=\"", fp);
4 	xmlencode(fp, name, strlen(name));
5-	fputs("/log.html\">", fp);
6+	fputs("/log/HEAD.html\">", fp);
7 	xmlencode(fp, name, strlen(name));
8 	fputs("</a></td><td>", fp);
9 	xmlencode(fp, description, strlen(description));
M · stagit.1 +3, -1
 1@@ -17,9 +17,11 @@ to the current directory. The following files will be written:
 2 Atom XML feed
 3 .It files.html
 4 List of files in the latest HEAD commit, linking to the file.
 5-.It log.html
 6+.It log/HEAD.html
 7 List of commits in order of most recent to old of the commits (top to bottom),
 8 each commit links to a page with a diff and diffstat of the commit.
 9+.It refs.html
10+Lists references of the repository such as branches and tags.
11 .El
12 .Pp
13 For each file in HEAD a file will be written in the format: