From 137e02f57becc7086ebbd9ba38ec0e31143dcf8a Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Tue, 5 Sep 2017 02:17:16 -0400 Subject: 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. --- checkout.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'checkout.sh') diff --git a/checkout.sh b/checkout.sh index d7208c9..e340706 100644 --- a/checkout.sh +++ b/checkout.sh @@ -72,4 +72,5 @@ function systr_checkout echo "Checking out files..." systr_rsync_normal "$path/revs/$commit/" . + date >.systr/updated } -- cgit v1.2.3