summaryrefslogtreecommitdiff
path: root/Omni/Ide/hooks/pre-push
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Ide/hooks/pre-push')
-rwxr-xr-xOmni/Ide/hooks/pre-push6
1 files changed, 6 insertions, 0 deletions
diff --git a/Omni/Ide/hooks/pre-push b/Omni/Ide/hooks/pre-push
index 00110bd..adbf858 100755
--- a/Omni/Ide/hooks/pre-push
+++ b/Omni/Ide/hooks/pre-push
@@ -1,5 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
+
+# Task manager: Ensure tasks are exported before push
+if [ -d .tasks ]; then
+ task export --flush 2>/dev/null || true
+fi
+
remote="$1"
z40=0000000000000000000000000000000000000000
IFS=" "