← back to Ticket System

data/codex-yoloforever/cycle-20260908T1221Z.HzXvuQ/ops-root-only-snapshot-exclusions.patch

16 lines

--- auto-commit-fleet.sh (current read-only source)
+++ auto-commit-fleet.sh (proposal only)
@@ -61 +61,11 @@
-  GIT_INDEX_FILE="$tmpidx" git -C "$repo" add -A 2>/dev/null || true
+  snapshot_paths=(.)
+  if [ "$repo" = "$PROJECTS_DIR" ]; then
+    snapshot_paths+=(
+      ":(top,exclude,literal)rentv-slideshow/renders/rentv-slideshow_2026-07-29_07-02-25.mp4"
+      ":(top,exclude,literal)rentv-slideshow/renders/rentv-slideshow_2026-07-29_08-29-23.mp4"
+      ":(top,exclude,literal)rentv-slideshow/renders/rentv-slideshow_2026-07-29_08-22-08.mp4"
+      ":(top,exclude,literal)rentv-slideshow/renders/rentv-slideshow_2026-07-29_08-16-11.mp4"
+      ":(top,exclude,literal)rentv-slideshow/renders/rentv-slideshow_2026-07-29_07-49-53.mp4"
+    )
+  fi
+  GIT_INDEX_FILE="$tmpidx" git -C "$repo" add -A -- "${snapshot_paths[@]}" 2>/dev/null || true