Bug #38

QGit should support git worktree

Added by Daniel Levin almost 2 years ago.

Status:NewStart date:2016-01-06
Priority:NormalDue date:
Assignee:Cristian Tibirna% Done:

0%

Category:-
Target version:-

Description

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 $bare_repository/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.

Also available in: Atom PDF