On 18/01/13 16:57, Torne Wuff wrote:
> One downside of this approach is that currently it's possible to share
> .repo/projects between multiple checkouts. If you used the textual-link
> .git instead then the checkouts would be sharing their entire state,
> including the HEAD pointer, and thus this would break badly.
I see, ok that something I think we can drop in our use case. We don't
have 15G of code to transfer so it's ok for us.
> Currently repo sets up the symlink forest such that the object database
> and set of branches is shared, but the checkouts can have independant
> HEADs (the same way git-new-workdir works) and I quite like this feature..
I will check this feature, never heard of it.
> Having it as an option (or just doing it on windows?) would be
> reasonable, though.
Actually repo for Windows can work without this. What you get when you
add this is the ability to use shell features like TortoiseGit.
> <mailto:
naranjo...@gmail.com>> wrote:
>
> Hello guys,
>
> In the company I work for I've been assigned the challenging task of
> migrating all the source repositories from svn to git. Once we had
> that completed I suggested and introduced a modified version of repo
> so that we can get all the dependencies together (internal and
> external) when building any of the company projects. This customized
> repo has some new features like allowing to do git push from repo
> and it evens works on Windows with the usage of ntfslink.
>
> Anyway thing is that some of this Windows users are using
> TortoiseGit and Tortoise gets in trouble when .git has symlinks
> inside and thinks the directory is not actually a git repository. So
> I started researching and find out that .git can be a file with just
> a line that says 'gitdir: < path to repository data >' and adding
> core.worktree to the config of the repository data that points to
> the root of the checkout folder, question is why this cool feature
> is not been used by repo?
>
> Cheers,
> Manuel
>
> --
> To unsubscribe, email repo-discuss+unsubscribe@__
googlegroups.com
> <mailto:
repo-discuss%2Bunsu...@googlegroups.com>
> More info at
http://groups.google.com/__group/repo-discuss?hl=en
> <
http://groups.google.com/group/repo-discuss?hl=en>
>
>