fix relpath for log - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 35a3d9b3fc34b42506cea0fbdabaaa8fae6981a2 | |
parent f373cc7235deaec49d2aa86ecdb55c9dd6dc5282 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Tue, 5 Jan 2016 21:43:26 +0100 | |
fix relpath for log | |
Diffstat: | |
M stagit.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/stagit.c b/stagit.c | |
@@ -1022,9 +1022,8 @@ main(int argc, char *argv[]) | |
/* log for HEAD */ | |
mkdir("log", 0755); | |
fp = efopen("log.html", "w"); | |
- relpath = "../"; | |
- writeheader(fp); | |
relpath = ""; | |
+ writeheader(fp); | |
writelog(fp, "HEAD"); | |
writefooter(fp); | |
fclose(fp); |