aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 14:33:32 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 14:33:32 -0500
commitdcaf2061e08feb6ca3d957950d91c292cef99b68 (patch)
tree8569dfea44db4f700c41533bef86c4eff64ac428 /tests/Makefile
parent0999c0684f945eb81293e0c56f8e7a506614e699 (diff)
downloadpearl-dcaf2061e08feb6ca3d957950d91c292cef99b68.tar.gz
pearl-dcaf2061e08feb6ca3d957950d91c292cef99b68.zip
refactor: share one conflict-gate dispatch across the three sync commands
The description, title, and comment syncs each carried the same :noop / :conflict / :push dispatch — only the hash property, the local-text source, the fetch and push functions, the apply step, and the status messages differed. I pulled the dispatch into pearl--commit-sync-decision, which takes a spec plist for the varying parts (description alone advances LINEAR-DESC-UPDATED-AT, via :after-push). The three commands now build a spec and call it, and the comment's own-comment permission check stays in its caller. No behavior change — 353 tests green, including the sync, title-sync, comment-editing, and conflict suites.
Diffstat (limited to 'tests/Makefile')
0 files changed, 0 insertions, 0 deletions