Skip to content

When opening a project via GUI in different directories, issues may arise. #39605

Closed as not planned

Description

@neptune-constellation

Description

When I have a project, I might switch between Git branches, so I end up with two directories on my desktop containing the same project. Let's say the project is named "test"—directory A contains the "test" project under branch name1, and directory B contains the "test" project under branch name2. If I first add the "test" project from directory A to a session on my desktop, and then want to work on the files in directory B, I create a new session and add the project again, selecting the "test" location in directory B. However, I notice that the displayed branch remains name1.

Plugins

No response

OpenCode version

No response

Steps to reproduce

Try placing the same project in different directories; although the project name remains the same and the branch differs, if you create a new session for both projects in these two locations, you will find that only the location of one of the projects is added.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. kai-kleinbard-tyto commented on Jul 30, 2026

    @kai-kleinbard-tyto

    Closing — no template used, insufficient information to investigate. Please reopen with the Bug Report or Feature Request template filled out (version, OS, repro steps, logs).

  3. github-actions commented on Sep 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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