git-query
git data extraction tool using c and libgit2
git clone https://9o.is/git/git-query.git
commit 9de82972fa8754d2e7ff89784c40f1b5c2165a60 parent 0ceb5905f2b8c224627899dfb64d39bc9f276b75 Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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, const char *path) 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\">",