summaryrefslogtreecommitdiff
path: root/git-maintenance
diff options
context:
space:
mode:
Diffstat (limited to 'git-maintenance')
-rw-r--r--git-maintenance/recent.sh3
-rwxr-xr-xgit-maintenance/store.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/git-maintenance/recent.sh b/git-maintenance/recent.sh
new file mode 100644
index 0000000..c26ccbc
--- /dev/null
+++ b/git-maintenance/recent.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+git log --pretty=oneline | head -n 4 | cut -c1-14,46- | tac
diff --git a/git-maintenance/store.sh b/git-maintenance/store.sh
index 8dba270..432998f 100755
--- a/git-maintenance/store.sh
+++ b/git-maintenance/store.sh
@@ -164,4 +164,5 @@ node bsvup/cli.js upload -f "$GITDIR"/encrypted -t dir -p "${PASS#pass:}" -v # -
# 9. consider storing bsvup transaction details in git history, to reuse transaction information.
# costs more money
-# this is not severely secure. appreciate speed change though.
+
+"$MAINTDIR"/recent.sh