From: Brad Larson Date: Thu, 04 Nov 2010 21:07:00 GMT Subject: Re: .git as file pointing to directory? Message-ID: In-Reply-To: <20101104184321.GA16929@burratino> On Thu, Nov 4, 2010 at 1:43 PM, Jonathan Nieder wrote: > Hi Brad, > > Brad Larson wrote: > >> At gittogether there was some talk about having .git be a file, not a >> folder, with contents pointing to the real .git directory.  Similar to >> a symlink, but supported in Windows. > > It is called a .git file.  See gitrepository-layout(5), v1.5.6-rc0~93^2~3 > (Add platform-independent .git "symlink", 2008-02-20), and the recent > rebase not handling core.worktree thread[1]. Thanks so much Jonathan. We were just listing the location of the folder, but prepending it with "gitdir: " fixed things. Thanks! Brad > > Hope that helps, > Jonathan > > [1] http://thread.gmane.org/gmane.comp.version-control.git/160488/focus=160567 >