stagit

git site generator
Contents

allow umask to handle permissions

Hiltjo Posthuma hiltjo@codemadness.org

commit: 5963510 parent: caf1e64
1 files changed, 1 insertions(+), 1 deletions(-)
Mstagit.c+1-1
M · stagit.c +1, -1
1@@ -1094,7 +1094,7 @@ main(int argc, char *argv[])
2 /* log for HEAD */
3 fp =
efopen("log.html", "w");
4 relpath =
"";
5- mkdir("commit", 0755);
6+
mkdir("commit", S_IRWXU | S_IRWXG | S_IRWXO);
7 writeheader(fp, "Log");
8
fputs("<table
id=\"log\"><thead>\n<tr><td><b>Date</b></td>"
9
"<td><b>Commit message</b></td>"