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

QGit should support git worktree #28

Open
tibirna opened this issue May 21, 2018 · 0 comments
Open

QGit should support git worktree #28

tibirna opened this issue May 21, 2018 · 0 comments

Comments

@tibirna
Copy link
Owner

tibirna commented May 21, 2018

Submitted by Daniel Levin on 2016-01-06.

Since Git 2.5 release Git supports multiple working directories. QGit should be able to open such working copy as usual one.

This change does not require much effort as far as I see:

  • Normally .git is a bare repository, in separate working tree it is a file with path to bare repository
  • HEAD and ORIG_HEAD can be located not in .git/ but in original barerepository/worktrees/barerepository/worktrees/tree_name

In addition QGit should also support opening bare repository to show history without HEAD.
This can be addressed in separate issue I believe.

@tibirna tibirna changed the title Salvaged from old home: QGit should support git worktree QGit should support git worktree Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant