git-query
git data extraction tool using c and libgit2
git clone https://9o.is/git/git-query.git
commit f9b96925911062b9db68444ffa4e15b24070bb00 parent a515c220c766c3e764fc5b3a2615649ccaa9b972 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 4 Sep 2017 18:14:52 +0200 allow umask to handle permissions Diffstat:
| M | stagit.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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>"