summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-09-02 21:03:17 -0500
committerClaude <noreply@anthropic.com>2026-09-02 21:03:17 -0500
commitbd25a73ca5e801af4a9087597c15b1958d1c6588 (patch)
treeb698c211c5b56b6ef3ed9e54388737ee5e705005 /internal
parent6040eff2d2b4618f19d4615d246ea6b0704acdf8 (diff)
Drop unused --old flag from skiff deploy
Its only caller was the post-receive hook skiff itself generates, so "hook parity" meant matching a convention we invented and fully control - there's no external contract keeping it around. deploy.Run never read it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/tmpl/post-receive.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tmpl/post-receive.tmpl b/internal/tmpl/post-receive.tmpl
index b06d46e..3ea56d5 100644
--- a/internal/tmpl/post-receive.tmpl
+++ b/internal/tmpl/post-receive.tmpl
@@ -1,6 +1,6 @@
#!/bin/sh
# Installed by `skiff new-app {{.Name}}`. Do not edit by hand - re-run
# new-app (or hand-edit the app name below) if this repo is ever renamed.
-while read old new ref; do
- skiff deploy --app "{{.Name}}" --old "$old" --new "$new" --ref "$ref" || exit 1
+while read _ new ref; do
+ skiff deploy --app "{{.Name}}" --new "$new" --ref "$ref" || exit 1
done