git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GIT_DIR output from git worktree list
@ 2020-09-29 17:30 Gabriel Nützi
  2020-09-30  5:33 ` Eric Sunshine
  0 siblings, 1 reply; 9+ messages in thread
From: Gabriel Nützi @ 2020-09-29 17:30 UTC (permalink / raw)
  To: git

Hello,

When you do move the .git folder somewhere else:

git init Test && cd Test && mv .git .git-b

and then do

cd Test &&
git --git-dir=.git-b --work-tree . worktree list

the output is :
..../Test/.git-b  0000000 [master]

Why is the output a .git Dir and not a worktree. I expected `.../Test`.

Thanks for the help.
BR Gabriel

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

end of thread, other threads:[~2020-12-13  6:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 17:30 GIT_DIR output from git worktree list Gabriel Nützi
2020-09-30  5:33 ` Eric Sunshine
2020-09-30  7:34   ` Gabriel Nützi
2020-09-30 20:35     ` Eric Sunshine
2020-12-07  4:34   ` Eric Sunshine
2020-12-07  7:28     ` Ganriel Nützi
2020-12-08 19:27       ` Eric Sunshine
2020-12-09  9:30         ` Duy Nguyen
2020-12-13  6:07           ` Eric Sunshine

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).