commit 8e4f447ebf6a06613e00cd4d82fd2e612c144eb6
parent 8427014cc87a4f9d603f3a910997c4b1c0f74167
Author: mdnrz <mehdeenoroozi@gmail.com>
Date: Sat, 13 Dec 2025 21:55:08 +0330
fix prefix; fix owner elimination from index
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,7 @@ NAME = stagit
VERSION = 1.2
# paths
-PREFIX = $HOME/.local
+PREFIX = $(HOME)/.local
MANPREFIX = ${PREFIX}/man
DOCPREFIX = ${PREFIX}/share/doc/${NAME}
diff --git a/stagit-index.c b/stagit-index.c
@@ -156,12 +156,12 @@ writelog(FILE *fp)
xmlencode(fp, stripped_name, strlen(stripped_name));
fputs("</a></td><td>", fp);
xmlencode(fp, description, strlen(description));
- fputs("</td><td>", fp);
- // xmlencode(fp, owner, strlen(owner));
// fputs("</td><td>", fp);
- // if (author)
- // printtimeshort(fp, &(author->when));
- // fputs("</td></tr>", fp);
+ // xmlencode(fp, owner, strlen(owner));
+ fputs("</td><td>", fp);
+ if (author)
+ printtimeshort(fp, &(author->when));
+ fputs("</td></tr>", fp);
git_commit_free(commit);
err: