From 444e41b315925181f3ead6f2c3dd1354475e90e3 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 4 Jan 2016 23:55:39 +0100 Subject: fix link to commit from log page --- stagit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'stagit.c') diff --git a/stagit.c b/stagit.c index 27db7a6..92107cf 100644 --- a/stagit.c +++ b/stagit.c @@ -463,9 +463,8 @@ writelog(FILE *fp, const char *branch) fputs("\n" "" "\n\n", fp); + relpath = "../"; while (!git_revwalk_next(&id, w)) { - relpath = ""; - if (!(ci = commitinfo_getbyoid(&id))) break; @@ -494,7 +493,6 @@ writelog(FILE *fp, const char *branch) fprintf(fp, "-%zu", ci->delcount); fputs("\n", fp); - relpath = "../"; printshowfile(ci); commitinfo_free(ci); -- cgit v1.2.3-54-g00ecf
AgeCommit messageAuthorFiles+-