Skip to content

Feature request: support pathspec filtering for git cl status #43

@joes

Description

@joes

It would be useful if git cl status supported an optional pathspec, similar to git status:

git cl status [<options>] [--] [<pathspec>…]

For example:

git cl status -- src/foo/

Use case: when working in a specific subdirectory, I want to quickly see which changed files under that path are assigned to a changelist and which changed files are not assigned to any changelist.

Expected behavior:

  • Only show files matching the given pathspec
  • Indicate which matching files are already assigned to a changelist
  • Also show matching changed files that are not currently assigned to any changelist

This would make it easier to audit whether all relevant changes in a specific area of the repository have been added to the intended changelist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions