feat(worktree-lifecycle): add PR tracking and safe destroy #138

Merged
shoko merged 4 commits from feat/worktree-lifecycle into main 2026-04-05 06:00:15 +02:00
Showing only changes of commit ac850869fd - Show all commits

View File

@@ -2022,7 +2022,7 @@ main() {
local pr_url="${2:-}" local pr_url="${2:-}"
if [ -z "$issue_ref" ] || [ -z "$pr_url" ]; then if [ -z "$issue_ref" ] || [ -z "$pr_url" ]; then
echo "Usage: kugetsu set-pr <issue-ref> <pr-url>" >&2 echo "Usage: kugetsu set-pr <issue-ref> <pr-url>" >&2
echo "Example: kugetsu set-pr github.com/shoko/kugetsu#14 https://git.fbrns.co/shoko/kugetsu/pulls/123" >&2 echo "Example: kugetsu set-pr github.com/shoko/kugetsu#14 https://github.com/shoko/kugetsu/pulls/123" >&2
Outdated
Review

remove git.fbrns.co here. just use github as example

remove git.fbrns.co here. just use github as example
exit 1 exit 1
fi fi
validate_issue_ref "$issue_ref" validate_issue_ref "$issue_ref"