summaryrefslogtreecommitdiff
path: root/Omni/Agent/merge-tasks.sh
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-22 13:55:28 -0500
committerBen Sima <ben@bensima.com>2025-11-22 13:55:28 -0500
commit10a2b488519c061eb86c9147cc96b38c82f51ef8 (patch)
tree14abeeab9654353259e1baaf8cf462322c58d659 /Omni/Agent/merge-tasks.sh
parent8697fd8a11a1cf368db1e6c05afddf87906e8de3 (diff)
parent960f7226139abd5408454e5285ead2024e0da643 (diff)
task: complete t-rWcqsDZFM.2 (Merge)
Amp-Thread-ID: https://ampcode.com/threads/T-ca3b086b-5a85-422a-b13d-256784c04221 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Agent/merge-tasks.sh')
-rwxr-xr-xOmni/Agent/merge-tasks.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/Omni/Agent/merge-tasks.sh b/Omni/Agent/merge-tasks.sh
deleted file mode 100755
index 833afcf..0000000
--- a/Omni/Agent/merge-tasks.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env bash
-# Omni/Ide/merge-tasks.sh
-# Git merge driver for .tasks/tasks.jsonl
-# Usage: merge-tasks.sh %O %A %B
-# %O = ancestor, %A = current (ours), %B = other (theirs)
-
-# ANCESTOR="$1" (unused)
-OURS="$2"
-THEIRS="$3"
-
-# We want to merge THEIRS into OURS using the task tool's import logic.
-REPO_ROOT="$(git rev-parse --show-toplevel)"
-TASK_BIN="$REPO_ROOT/_/bin/task"
-
-# If binary doesn't exist, try to build it? Or just fail safely.
-if [ ! -x "$TASK_BIN" ]; then
- # Try to find it in the build output if _/bin isn't populated
- # But for now, let's just fail if not found, forcing manual merge
- exit 1
-fi
-
-# Use the task tool to merge
-# We tell it that the DB is the 'OURS' file
-# And we import the 'THEIRS' file
-export TASK_DB_PATH="$OURS"
-if "$TASK_BIN" import -i "$THEIRS" >/dev/null 2>&1; then
- exit 0
-else
- exit 1
-fi