garbash-stagit

garbash fork of stagit for git hosting with subdirs
git clone git://git.alexkarle.com.com/garbash-stagit
Log | Files | Refs | README | LICENSE

commit ad4043383956fce0949def38a830d8eb61fa0565 (patch)
parent 5c278a600ea64c64f238e14d38dafbdbee6c9562
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 29 Apr 2016 21:24:58 +0200

whoops, module is m---------

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit.c b/stagit.c @@ -711,7 +711,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *branch, const char *path) fprintf(fp, "%juB", (uintmax_t)filesize); fputs("</td></tr>\n", fp); } else if (!git_submodule_lookup(&module, repo, entryname)) { - fprintf(fp, "<tr><td>m------</td><td><a href=\"%sfile/.gitmodules.html\">", + fprintf(fp, "<tr><td>m---------</td><td><a href=\"%sfile/.gitmodules.html\">", relpath); xmlencode(fp, entrypath, strlen(entrypath)); git_submodule_free(module);