ref: 01041c59d420595cf51b6061be4f2d0f6114b4e7
parent: fb60863ef49fb154bd6246bb4d439dc6be255a10
author: B. Atticus Grobe <grobe0ba@gmail.com>
date: Sun Jul 3 14:21:36 EDT 2022
prevent truncation of author/commiter information
--- a/common.rc
+++ b/common.rc
@@ -51,9 +51,9 @@
message=`{htcat $gitfs/object/$phash/msg | sed 1q}
date=`{date -f 'YYYY/MM/DD hh:mm' `{mtime $gitfs/object/$phash/msg | awk '{print $1}'}}
- author=`"{htcat $gitfs/object/$phash/author | awk '{print $1}'}
+ author=`"{htcat $gitfs/object/$phash/author}
shorthash=`{echo $phash | awk '{print substr($0, 0, 8)}'}
- if (test -f $gitfs/object/$phash/committer) committer=`"{htcat $gitfs/object/$phash/committer | awk '{print $1}'}
+ if (test -f $gitfs/object/$phash/committer) committer=`"{htcat $gitfs/object/$phash/committer}
echo ' <div id="commit">
<a href=/'$puser/$prepo/$phash'/commit.html>'$shorthash'</a>
– '$author' authored'