git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Raible <raible@gmail.com>
To: git@vger.kernel.org
Subject: Re: Feature Enhancement Idea.
Date: Thu, 24 Sep 2009 16:45:26 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090924T184504-686@post.gmane.org> (raw)
In-Reply-To: 5b5e291e0909240225q49a202abk7cf1a0c8f715ad5f@mail.gmail.com

Deon George <deon.george <at> gmail.com> writes:

> > Third, if the above isn't what you want, then you can manually
> > intermingle working directories of different git repositories
> > (probably requiring decouplig of bare git repository (git-dir)
> > from working area (work-tree)).
> 
> Ahh, now this sounds like it might be what I want to do - I think I'll
> explore this. I can see that it would provide file level autonomy
> only, but as a starting point I think it will help heaps...

Proof of concept:

export GIT_WORK_TREE=.

git --git-dir=.git1 init
git --git-dir=.git1 add view1-file
git --git-dir=.git1 commit -m"view1 initial"

git --git-dir=.git2 init
git --git-dir=.git2 add view1-file
git --git-dir=.git2 commit -m"view2 initial"

git --git-dir=.git1 log
git --git-dir=.git2 log

      reply	other threads:[~2009-09-24 16:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23  6:17 Feature Enhancement Idea Deon George
2009-09-23  8:26 ` Christian Couder
2009-09-23  9:06 ` Johan Herland
2009-09-23 11:12   ` Deon George
2009-09-23 18:17     ` Ciprian Dorin, Craciun
2009-09-23 23:19       ` Johan Herland
2009-09-23 20:08 ` Junio C Hamano
2009-09-24  5:52   ` Deon George
2009-09-24  5:56 ` Jakub Narebski
2009-09-24  9:25   ` Deon George
2009-09-24 16:45     ` Eric Raible [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.20090924T184504-686@post.gmane.org \
    --to=raible@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;
as well as URLs for NNTP newsgroup(s).