Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitf95fd69a6fef43e9c0aa6b2dc4d1de46af89583d (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-10-17 14:05:19 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-10-17 14:08:21 +0300
Filesefc6782355ffb62c470b2e330fc43e92e66e8c4c
csg-f95fd69a6fef43e9c0aa6b2dc4d1de46af89583d.tar
csg-f95fd69a6fef43e9c0aa6b2dc4d1de46af89583d.tar.gz
csg-f95fd69a6fef43e9c0aa6b2dc4d1de46af89583d.zip
Parent9506054826830e9424fbc3d3fdab312b63037663 (diff)
[s0] Timestamp file can be disabled if CSG_TIMESTAMP_FILE is empty
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-xcsg2
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')