summaryrefslogtreecommitdiffstats
path: root/repo-access.sh
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-09-05 02:17:16 -0400
committerMalf Furious <m@lfurio.us>2017-09-05 02:17:16 -0400
commit137e02f57becc7086ebbd9ba38ec0e31143dcf8a (patch)
tree9e974e4d4ce1fe49cea28dc086ff2312c61afb1d /repo-access.sh
parent1644a75f2562e515ffd4f9a26e5e05016601708f (diff)
downloadsystrunk-137e02f57becc7086ebbd9ba38ec0e31143dcf8a.tar.gz
systrunk-137e02f57becc7086ebbd9ba38ec0e31143dcf8a.zip
Setup worktree timestamp logic
Added logic to update the 'updated' timestamp whenever the worktree is checked out or committed. systrunk status now displays this timestamp.
Diffstat (limited to 'repo-access.sh')
-rw-r--r--repo-access.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/repo-access.sh b/repo-access.sh
index 477e7a9..40be363 100644
--- a/repo-access.sh
+++ b/repo-access.sh
@@ -228,6 +228,7 @@ function systr_status
echo "BASE at $BASE"
fi
+ echo "Tree updated $updated"
dist=$(systr_repo_commit_dist "$BASE" "$TRAC")
if [[ "$dist" == "0" ]]; then