{"thread":{"id":"10739","subject":"GIT_DIR/--git-dir question","startedAt":"2007-11-08T19:06:07Z","lastAt":"2007-11-08T23:24:52Z","messageCount":3,"participants":["Joakim Tjernlund","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"58928","messageId":"007c01c8223a$6af2e550$5267a8c0@Jocke","threadId":"10739","inReplyTo":null,"subject":"GIT_DIR/--git-dir question","fromName":"Joakim Tjernlund","fromEmail":"joakim.tjernlund@transmode.se","sentAt":"2007-11-08T19:06:07Z","receivedAt":"2007-11-08T19:06:07Z","isPatch":false,"sender":{"key":"joakim.tjernlund@transmode.se","avatar":null},"body":"I just started to look at having multiple work trees, each working on a separate branch,\nusing the same git repo.\n\nGIT_DIR/--git-dir seems to be what I am looking for but I wonder if there\nis a way to store the value of GIT_DIR/--git-dir in the working tree\nsomehow?\n\n  Jocke\n"},{"id":"58944","messageId":"7vfxzg1jpb.fsf@gitster.siamese.dyndns.org","threadId":"10739","inReplyTo":"007c01c8223a$6af2e550$5267a8c0@Jocke","subject":"Re: GIT_DIR/--git-dir question","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-11-08T22:00:32Z","receivedAt":"2007-11-08T22:00:32Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Joakim Tjernlund\" <joakim.tjernlund@transmode.se> writes:\n\n> I just started to look at having multiple work trees, each working on a separate branch,\n> using the same git repo.\n\nI suspect contrib/workdir is what you are looking for not\nGIT_DIR.\n"},{"id":"58952","messageId":"008701c8225e$90f38dd0$5267a8c0@Jocke","threadId":"10739","inReplyTo":"7vfxzg1jpb.fsf@gitster.siamese.dyndns.org","subject":"RE: GIT_DIR/--git-dir question","fromName":"Joakim Tjernlund","fromEmail":"joakim.tjernlund@transmode.se","sentAt":"2007-11-08T23:24:52Z","receivedAt":"2007-11-08T23:24:52Z","isPatch":false,"sender":{"key":"joakim.tjernlund@transmode.se","avatar":null},"body":"> From: Junio C Hamano [mailto:gitster@pobox.com] \n> Sent: den 8 november 2007 23:01\n> To: Joakim Tjernlund\n> Cc: git@vger.kernel.org\n> Subject: Re: GIT_DIR/--git-dir question\n> \n> \"Joakim Tjernlund\" <joakim.tjernlund@transmode.se> writes:\n> \n> > I just started to look at having multiple work trees, each \n> working on a separate branch,\n> > using the same git repo.\n> \n> I suspect contrib/workdir is what you are looking for not\n> GIT_DIR.\n\nYes, it does look like what I am looking for. But now I am \na bit confused as to what GIT_DIR/--git-dir is supposed to be\nused for.\n\n Jocke\n"}]}