On Fri, 4 Oct 2013 01:24:32 -0700 (PDT)
pof Andras <porje...@gmail.com> wrote:
> > > I would like to implement a multi-workspace version of git.
> > That was implemented long time ago in the form of the
> > git-new-workdir script available in the "contrib" Git subdirectory
> > . The basic idea this Unix shell script implements is to create
> > a separate directory with ".git" subdirectory in it which links to
> > the "real" one *but* leaving intact things like HEAD which are
> > purely local. This allows to have any number of separate checkouts
> > of different branches, all referring to a single repository.
> > Note that this script won't work on Windows as it makes use of
> > symlinks which doesn't play together well with Windows.
> > 1.
> > https://github.com/git/git/blob/master/contrib/workdir/git-new-workdir
> Thanks, it looks promising (although it is quite old)
What do you mean by "old"? It's a simple script which just creates a
couple of directories and a number of symlinks; the format of Git
database and metadata directory did not change for ages so why change
this script if it works? Note that the script does not do any magic,
and you can do what it does using nothing more than Git plumbing tools
and Unix core utilities.
> Does anyone know about its restrictions,
Windows, as explained above. But support for symlinks did not exist
even in Git for Windows proper due to the same reasons, so I don't
think much can be done for this short of writing a specialized (C)
Windows program which would mimic the behaviour of this script and would
require elevation of privileges in the manifest file built into the
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.