git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Worktree "gitdir" file being mangled after upgrade to 2.7.0
@ 2016-01-13 23:47 Erik Johnson
  2016-01-14  2:36 ` Junio C Hamano
  2016-01-14 18:36 ` Andreas Schwab
  0 siblings, 2 replies; 6+ messages in thread
From: Erik Johnson @ 2016-01-13 23:47 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

Since upgrading to 2.7.0 last week, eventually I'll get to a point when
I run 'git worktree list' where several worktrees are incorrectly
reported as pointing to my main git checkout. Further analysis of the
files in $GIT_DIR/worktrees/worktree_name/ shows that the gitdir file
for the worktrees which display incorrectly contains ".git" instead of
what it should contain (i.e. "/path/to/worktree/.git".

This was reported a couple days ago on Github:

https://github.com/git/git-scm.com/issues/650

Since the audiences for the mailing list and Github don't overlap
completely, I figured I'd report it here to get this issue in front of
as many eyes as possible.

--

-Erik

"For me, it is far better to grasp the universe as it really is than to
persist in delusion, however satisfying and reassuring."  --Carl Sagan


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-15 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 23:47 Worktree "gitdir" file being mangled after upgrade to 2.7.0 Erik Johnson
2016-01-14  2:36 ` Junio C Hamano
2016-01-14  3:29   ` Duy Nguyen
2016-01-14 13:58     ` Mike Rappazzo
2016-01-15 17:52       ` Junio C Hamano
2016-01-14 18:36 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).