Skip to content

Repository and compare browsers list .git and offer to propagate, copy or delete it #492

Open

Description

@matt-edmondson

What's wrong

The repository browser (ShowRepoBrowser) and the compare browser (ShowCompareBrowser) list everything Directory.EnumerateFileSystemEntries returns (ListBrowserEntries, ProjectDirector/ProjectDirector.cs:2429), including the .git directory. Each row offers the same actions as any other entry: Propagate in the repo browser, Give/Take and X in the compare browser.

  • Expected: .git is hidden from both browsers (scanning already skips it, :1317), or at least offers no copy, propagate or delete action.
  • Actual: .git is the first row in both listings (see docs/gallery/selecting-a-repository.png and comparing-two-repositories.png). Copying or deleting it would copy another repository's object store or delete this one's history.

Related: #440 covers the browsers' path handling. This is about what they list.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions