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:
8787f49
)
allow umask to handle permissions
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 4 Sep 2017 16:14:52 +0000
(18:14 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 4 Sep 2017 16:14:52 +0000
(18:14 +0200)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index 3362fe5fca417fab35719c2580ebbd8d8b336bdf..4e046fd326d2b49dd9782f3778ea674a15ccae95 100644
(file)
--- a/
stagit.c
+++ b/
stagit.c
@@
-1094,7
+1094,7
@@
main(int argc, char *argv[])
/* log for HEAD */
fp = efopen("log.html", "w");
relpath = "";
- mkdir("commit",
0755
);
+ mkdir("commit",
S_IRWXU | S_IRWXG | S_IRWXO
);
writeheader(fp, "Log");
fputs("<table id=\"log\"><thead>\n<tr><td><b>Date</b></td>"
"<td><b>Commit message</b></td>"