git-query

git data extraction tool using c and libgit2

git clone https://9o.is/git/git-query.git

commit 7ed335cdfa6082b995c278e0b752948c09efb299
parent 0e42c4a466ea145b4fc942f896c5469d0a16f8d7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue,  5 Jan 2016 21:43:26 +0100

fix relpath for log

Diffstat:
Mstagit.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);