From b0c70dcf0bdb49af43f478dd51eb38b90247abb2 Mon Sep 17 00:00:00 2001 From: olpc user Date: Fri, 10 Jan 2020 09:25:16 -0800 Subject: begin script to show recent changes --- git-maintenance/recent.sh | 3 +++ git-maintenance/store.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 git-maintenance/recent.sh (limited to 'git-maintenance') 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 -- cgit v1.2.3