summaryrefslogtreecommitdiff
path: root/Omni/Task.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-22 16:58:04 -0500
committerBen Sima <ben@bensima.com>2025-11-22 16:58:04 -0500
commit5ef096d51ff816f9d78033d7e92191041de8c4d7 (patch)
treee97bfa00517dcd0bd8e410618c6749d03ce334c9 /Omni/Task.hs
parentdbb16dd9c86ec5ac0e73f29e32a6beee377672da (diff)
parenta1a4d4d8013487ea9ae48e8b4fef10097fa76a4d (diff)
task: complete t-1o2bxcq7999.1 (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/Task.hs')
-rw-r--r--Omni/Task.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Omni/Task.hs b/Omni/Task.hs
index b62e1c1..12842db 100644
--- a/Omni/Task.hs
+++ b/Omni/Task.hs
@@ -117,7 +117,9 @@ move args
let quiet = args `Cli.has` Cli.longOption "quiet"
initTaskDb
callCommand "git config commit.template .gitmessage"
- unless quiet <| putText "Task database initialized and git commit template configured. Use 'task create' to add tasks."
+ callCommand "git config merge.agent.name 'Agent Merge Driver' || true"
+ callCommand "git config merge.agent.driver 'agent merge-driver %A %B' || true"
+ unless quiet <| putText "Task database initialized and configured. Use 'task create' to add tasks."
| args `Cli.has` Cli.command "create" = do
title <- getArgText args "title"
taskType <- case Cli.getArg args (Cli.longOption "type") of