diff options
author | Malf Furious <m@lfurio.us> | 2017-09-05 02:17:16 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-09-05 02:17:16 -0400 |
commit | 137e02f57becc7086ebbd9ba38ec0e31143dcf8a (patch) | |
tree | 9e974e4d4ce1fe49cea28dc086ff2312c61afb1d /checkout.sh | |
parent | 1644a75f2562e515ffd4f9a26e5e05016601708f (diff) | |
download | systrunk-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 'checkout.sh')
-rw-r--r-- | checkout.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |