worktree:add: quote CLI args and derive repo name from the fetch remote
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
調査の方向性
Start by reading src/taskfile-include-worktree.yaml and the module conventions in CLAUDE.md. Inspect the add task’s handling of CLI_ARGS, WORKTREE_FETCH_REMOTE, and the remote used to derive the repository name; run the relevant worktree task with glob characters and with only an upstream remote. Done means the typed branch or slug is preserved and the worktree uses the configured fetch remote.
索引モデルが issue の本文から書いたものです。
説明
Pre-existing issues in src/taskfile-include-worktree.yaml (add), surfaced while reviewing #52 but outside its diff:
- Unquoted
set -- {{.CLI_ARGS}}— glob characters in the branch or slug (e.g.task worktree:add -- 'feat/*') are expanded against the current directory, so the branch/slug silently differs from what was typed, or a misleading prefix/slug error appears. <repo>comes fromgit remote get-url origin, the fetch fromWORKTREE_FETCH_REMOTE— in a repo whose only remote isupstream(withWORKTREE_FETCH_REMOTE=upstream),addaborts underset -ewithNo such remote 'origin'before fetching; with both remotes the worktree is named afteroriginwhile branching fromupstream.
Note: WORKTREE_FETCH_REMOTE is currently a plain literal, so consumer overrides are ignored anyway (see CLAUDE.md module conventions); fix 2 matters once the module is converted to the default form.
- 主要言語
- Shell
- スター
- 0
- フォーク
- 0
- 平均マージ
- 11分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nolte/taskfiles のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
-
worktree: harden the add prefix check and widen the self-test対応中かも @nolte が 11 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
nolte/taskfiles の issue をすべて見る
似ている issue
-
Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PowerShell/PowerShell#28432 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nolte/kamerplanter-appliance#32 ·
メンテナーはふだん 1 日以内に返信
-
research
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
slayerlabs/benchmarks-fabryka-ai#256 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100