gitx icon indicating copy to clipboard operation
gitx copied to clipboard

GitX does not work when `core.worktree` is used

Open jasonkarns opened this issue 12 years ago • 4 comments
trafficstars

I have a git repository that has a non-standard worktree set using core.worktree. When I attempt to open GitX from the git repo, I get a dialog error message stating that the worktree (the path is followed correctly) "does not appear to be a git repository".

If I attempt to open GitX directly from the worktree, I get a console error message stating "Could not find a git working directory."

jasonkarns avatar Jan 23 '13 15:01 jasonkarns

Any chance of triage for this?

jasonkarns avatar Dec 17 '14 15:12 jasonkarns

git 2.5 has made worktrees easier and thus probably more popular. It'd be lovely for gitx to play nicely with them.

josharian avatar Aug 17 '15 07:08 josharian

Note, the libgit2 guys are waiting on the worktree support to be stabilized (and the git-worktree manpage sure seems to imply there are some things still being worked on), and they have much more insight in git's development that I have.

tiennou avatar Aug 17 '15 11:08 tiennou

Also, I don't think that core.worktree and the new worktree support are actually the same thing, so @josharian's request is actually separate.

tiennou avatar Aug 17 '15 11:08 tiennou