minor style fix - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f2773b0319dda871627a7c87077d786a0a9c4b72 | |
parent b8af751b0108edcad02bc59cec496b1d7808b0e1 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 29 Apr 2016 15:55:33 +0200 | |
minor style fix | |
Diffstat: | |
M stagit.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/stagit.c b/stagit.c | |
@@ -708,7 +708,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *branch… | |
else | |
fprintf(fp, "%juB", (uintmax_t)filesize); | |
fputs("</td></tr>\n", fp); | |
- } else if (git_submodule_lookup(&module, repo, entryname) == 0… | |
+ } else if (!git_submodule_lookup(&module, repo, entryname)) { | |
fputs("<tr><td>m---------</td><td>", fp); | |
if ((moduleurl = git_submodule_url(module))) { | |
fprintf(fp, "<a class=\"module\" href=\"%s\">", |