Re: .git as file pointing to directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 4, 2010 at 1:43 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> 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
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]