projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8af751
)
minor style fix
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 29 Apr 2016 13:55:33 +0000
(15:55 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 29 Apr 2016 13:55:33 +0000
(15:55 +0200)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 206dca191b5f833e4ca2e368c255565d166fbb36..1102915d8303df7af7977d437fe1f3c44870d361 100644
(file)
--- 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\">",