Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a repo making use of core.worktree leads to many issues #1548

Closed
Zwyx opened this issue Jul 20, 2022 · 4 comments
Closed

Opening a repo making use of core.worktree leads to many issues #1548

Zwyx opened this issue Jul 20, 2022 · 4 comments

Comments

@Zwyx
Copy link

Zwyx commented Jul 20, 2022

Version info

  • OS: Ubuntu 22.04
  • Build: 2074

Description

Opening a repository which has its work tree placed somewhere else than next to the repository itself, leads to many issues. See this comment for a full description of the setup.

Issues I noticed:

  • Trying to edit a commit message leads to an error, as well as trying to do a rebase.
  • Signatures are shown as invalid:
    Signatures are shown as invalid
  • When closing Sublime Merge and reopening it, the list of commits is empty. We have to close the repository and reopen it to have the commit list again.

It looks like this is because Sublime Merge opens the directory of the work tree, and loses track of where the repository is, if it's not next to the work tree in the usual .git folder.

@dpjohnst
Copy link
Member

Thanks for reporting this issue - this will be resolved in the next Sublime Merge build

@Zwyx
Copy link
Author

Zwyx commented Jul 24, 2022

Great to hear! Thanks!

@dpjohnst
Copy link
Member

Fixed in Sublime Merge 2075 (development build)

@Zwyx
Copy link
Author

Zwyx commented Aug 24, 2022

Hi @dpjohnst, I just updated Sublime Merge to build 2077. The first two issues I mentioned above are indeed fixed, that's great, thanks for that! However, the third one is not: when closing Sublime Merge and reopening it, the list of commits is empty. We have to close the repository and reopen it to have the commit list again.

If you'd like to reopen this issue, I can cross out the two first points. Or if you prefer, I can open a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants