diff options
author | Hiltjo Posthuma <[email protected]> | 2016-01-05 21:43:26 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2016-01-05 21:43:26 +0100 |
commit | 35a3d9b3fc34b42506cea0fbdabaaa8fae6981a2 (patch) | |
tree | 5865eab2234f6400d9cefa376cdbc1d9ff2c540e /stagit.c | |
parent | f373cc7235deaec49d2aa86ecdb55c9dd6dc5282 (diff) | |
download | stagit-35a3d9b3fc34b42506cea0fbdabaaa8fae6981a2.tar.gz stagit-35a3d9b3fc34b42506cea0fbdabaaa8fae6981a2.zip |
fix relpath for log
Diffstat (limited to '')
-rw-r--r-- | stagit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |