summaryrefslogtreecommitdiff
path: root/git-maintenance
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-10 09:25:16 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-10 09:25:16 -0800
commitb0c70dcf0bdb49af43f478dd51eb38b90247abb2 (patch)
tree679a87d8b2cf8a4f8f2d29667d86d148ec2712f9 /git-maintenance
parentca03dcbb930f465b632f15692dde8bc9e06089e6 (diff)
downloadstandingwithresilience-b0c70dcf0bdb49af43f478dd51eb38b90247abb2.tar.gz
standingwithresilience-b0c70dcf0bdb49af43f478dd51eb38b90247abb2.zip
begin script to show recent changes
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