Skip to content

Can't distinguish different worktrees of single repo #5764

Closed

Description

@koenpunt

For some of the projects I'm working on I have multiple git-worktrees set up, but these all show up as the same project name, which makes it quite annoying to work with.

image

How I think this could be solved is by displaying the branch that is currently checked out for the worktree.

image

Btw, this is not the same as; #907

Activity

  1. outofambit commented on Sep 27, 2018

    @outofambit
    Contributor

    Hi @koenpunt thanks so much for filing this. I think the proposed solution here makes sense as an incremental step but I would love to get some input from design before we jump into implementation.

  2. added
    design-input-needed
    help wanted
    on Sep 27, 2018
  3. billygriffin commented on Oct 19, 2018

    @billygriffin
    Contributor

    There are several issues relating to how repositories are grouped and displayed that we're working through in the context of #5398, so I'd ask that we hold off on designing/implementing anything here, as I want to look at it holistically.

  4. removed
    help wanted
    design-input-needed
    on Nov 13, 2018
  5. alphajbravo commented on Nov 16, 2018

    @alphajbravo

    I have a similar issue, except sometimes I'm using the same branch in more than one place (libraries used in different projects, for example), so it would be useful to see where the local is located as well, even just as a tooltip or similar.

  6. billygriffin commented on Jan 30, 2019

    @billygriffin
    Contributor

    I rolled this into a consideration in how we're thinking about repository grouping more generally in #6460 so I'm going to close this in favor of that. Thanks so much for the issue. 😄

  7. koenpunt commented on Jul 29, 2019

    @koenpunt
    ContributorAuthor

    While this was "merged" into #6460, that one was closed, but I think this is still an issue. The main difference between this and #6460, is that subtrees are a git feature, and the other proposals are about organizing repos outside of git functionality.

    The support for worktrees in general is subpar; I just opened another issue regarding them.

    And also trying to checkout a branch that's already checked out in a different worktree renders an error, instead of something more helpful.

    So I would really appreciate it if my proposal could be reevaluated.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions