From: Sergio <sergio.callegari@gmail.com>
To: git@vger.kernel.org
Subject: Re: How to have multiple working copy directories use the same repository?
Date: Thu, 11 Oct 2007 19:21:10 +0000 (UTC) [thread overview]
Message-ID: <loom.20071011T191233-202@post.gmane.org> (raw)
In-Reply-To: 744844.82514.qm@web55015.mail.re4.yahoo.com
One possibility can be to use the "git-new-workdir"
script that is distributed in the contrib directory
of git source. It allows to have many work dirs insisting
on the same repo (yet possibly operating on different branches!)
I believe that you might need to be careful with that,
though:
1) There is no check about the possibility of messing things
up by working on the same branch from two points.
2) There should be a basic infrastructure to avoid nasty
things from happening but I do not know if it is complete.
3) Implementation is based on symlinks in the git directory,
so it is only for architectures supporting symlinks and, since
there are many symlinks, if something gets changed by mistake and
some symlink looses consistency with the others bad things may
happen.
Sergio
prev parent reply other threads:[~2007-10-11 20:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-11 18:10 How to have multiple working copy directories use the same repository? Bill Priest
2007-10-11 19:00 ` Alex Riesen
2007-10-12 3:52 ` Shawn O. Pearce
2007-10-11 19:21 ` Sergio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20071011T191233-202@post.gmane.org \
--to=sergio.callegari@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox