From f95fd69a6fef43e9c0aa6b2dc4d1de46af89583d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 17 Oct 2023 14:05:19 +0300 Subject: [s0] Timestamp file can be disabled if CSG_TIMESTAMP_FILE is empty --- csg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csg b/csg index cc1e6d1..f8d7fbb 100755 --- a/csg +++ b/csg @@ -109,7 +109,7 @@ endTimer() { ### Stage 0 ### Create timestamps.txt file, if necessary -if isCommand 'git' +if [ -n "$CSG_TIMESTAMP_FILE" ] && isCommand 'git' then timestamps_writeDates() { for file in $(find . -type f -name '*.md') -- cgit v1.3.1-23-gd82d