all repos — doom @ f0c7f4e651bdceb1cf772b14e6e68a2f306f631d

Grab bag of versioned doom files (maps, scripts, notes, etc)

tool: init script to track changes to WAD

Eventually will use these to make a timelapse.
shwarp
Sat, 15 Aug 2026 15:17:19 -0400
commit

f0c7f4e651bdceb1cf772b14e6e68a2f306f631d

parent

111bd6761036cc3140ba4e8a60e2af25aed30c5f

1 files changed, 28 insertions(+), 0 deletions(-)

jump to
A WIP/idmitation/autocommit

@@ -0,0 +1,28 @@

+#!/bin/bash + +if [[ $# -ne 2 ]] +then + echo "Usage: ./autocommit <DIR> <FILE> [COMMIT_MESSAGE]" + exit 1 +fi + +DIRECTORY="$1" +FILE="$2" +COMMIT_MESSAGE="auto: $FILE changed" + +while true +do + cd "$DIRECTORY" + + inotifywait -qq -e CLOSE_WRITE "$FILE" + + echo "File changed: $DIRECTORY/$FILE" + + git add "$FILE" + git commit -m "$COMMIT_MESSAGE" + + # Keep duplicate updates out + sleep 5s + + git log +done