]> git.armaanb.net Git - stagit.git/commitdiff
whoops, module is m---------
authorHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 29 Apr 2016 19:24:58 +0000 (21:24 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 29 Apr 2016 19:24:58 +0000 (21:24 +0200)
stagit.c

index 8a1a798f4106e395d3b15e0fd285f53398b6a90f..28b2b7e491f91a98b9dee3a4463c8e392d0cd328 100644 (file)
--- 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);