]> git.armaanb.net Git - stagit.git/blobdiff - urmoms-index.c
nvm, dont strip .git from bare repos
[stagit.git] / urmoms-index.c
index ff84be3947f1a2d922ce21b05ce0480f7203388f..356f08c316733a61d5bee911f5faef9c3436ef17 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <git2.h>
 
+#include "compat.h"
 #include "config.h"
 
 static git_repository *repo;
@@ -107,7 +108,7 @@ writeheader(FILE *fp)
                "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
                relpath, name, description);
        fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n"
-             "<table><thead>\n"
+             "<table id=\"index\"><thead>\n"
              "<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>"
              "</thead><tbody>\n", fp);