Re: .git as file pointing to directory?
- From
Brad Larson <bklarson@gmail.com>
- Date
- Nov 4, 2010, 21:07 UTC
- Message-ID
- <AANLkTinMiSNCC0EUDRvxiW0V+upjEemP_xYwjcWcNC6L@mail.gmail.com>
- In-Reply-To
- <20101104184321.GA16929@burratino>
On Thu, Nov 4, 2010 at 1:43 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 11 quoted lines
> 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
Show 6 quoted lines
> > Hope that helps, > Jonathan > > [1] http://thread.gmane.org/gmane.comp.version-control.git/160488/focus=160567 >