Git development
 help / color / mirror / Atom feed
* GIT_DIR/--git-dir question
@ 2007-11-08 19:06 Joakim Tjernlund
  2007-11-08 22:00 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Joakim Tjernlund @ 2007-11-08 19:06 UTC (permalink / raw)
  To: git

I just started to look at having multiple work trees, each working on a separate branch,
using the same git repo.

GIT_DIR/--git-dir seems to be what I am looking for but I wonder if there
is a way to store the value of GIT_DIR/--git-dir in the working tree
somehow?

  Jocke

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

* Re: GIT_DIR/--git-dir question
  2007-11-08 19:06 GIT_DIR/--git-dir question Joakim Tjernlund
@ 2007-11-08 22:00 ` Junio C Hamano
  2007-11-08 23:24   ` Joakim Tjernlund
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2007-11-08 22:00 UTC (permalink / raw)
  To: Joakim Tjernlund; +Cc: git

"Joakim Tjernlund" <joakim.tjernlund@transmode.se> writes:

> I just started to look at having multiple work trees, each working on a separate branch,
> using the same git repo.

I suspect contrib/workdir is what you are looking for not
GIT_DIR.

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

* RE: GIT_DIR/--git-dir question
  2007-11-08 22:00 ` Junio C Hamano
@ 2007-11-08 23:24   ` Joakim Tjernlund
  0 siblings, 0 replies; 3+ messages in thread
From: Joakim Tjernlund @ 2007-11-08 23:24 UTC (permalink / raw)
  To: 'Junio C Hamano'; +Cc: git

> From: Junio C Hamano [mailto:gitster@pobox.com] 
> Sent: den 8 november 2007 23:01
> To: Joakim Tjernlund
> Cc: git@vger.kernel.org
> Subject: Re: GIT_DIR/--git-dir question
> 
> "Joakim Tjernlund" <joakim.tjernlund@transmode.se> writes:
> 
> > I just started to look at having multiple work trees, each 
> working on a separate branch,
> > using the same git repo.
> 
> I suspect contrib/workdir is what you are looking for not
> GIT_DIR.

Yes, it does look like what I am looking for. But now I am 
a bit confused as to what GIT_DIR/--git-dir is supposed to be
used for.

 Jocke

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

end of thread, other threads:[~2007-11-09  1:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08 19:06 GIT_DIR/--git-dir question Joakim Tjernlund
2007-11-08 22:00 ` Junio C Hamano
2007-11-08 23:24   ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox