Repository navigation
Filter draft list to current project by default - #105
Merged
Merged
Conversation
When inside a git repository, draft list now shows runs for only that project. When outside git or with the --all flag, all runs are listed. The current project is determined via git rev-parse and worktree list, with special handling for linked worktrees.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
draft listnow defaults to showing runs for the current git project only, usinggit rev-parseandgit worktree list --porcelainto detect the project namedraft list --alland outside-git usage retain the previous global behavior showing runs from all projectsTest plan
--allflag skipping git, outside-git fallback, missing project directory, linked worktree resolution, git error handling, 15-run limit within a project, and JSON output with project selection_make_list_args(all=True)so they remain focused on row formatting without triggering git detection