All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Shaposhnik <rvs@sun.com>
To: Steven Grimm <koreth@midwinter.com>
Cc: Finn Arne Gangstad <finnag@pvv.org>,
	Avery Pennarun <apenwarr@gmail.com>,
	Tim Harper <timcharper@gmail.com>,
	git@vger.kernel.org
Subject: Re: Making submodules easier to work with
Date: Tue, 06 May 2008 16:17:52 -0700	[thread overview]
Message-ID: <1210115872.25663.1097.camel@work.sfbay.sun.com> (raw)
In-Reply-To: <3B9C16C0-0D0C-42D3-8315-72C8D8C88452@midwinter.com>

On Thu, 2008-05-01 at 16:29 -0700, Steven Grimm wrote:
> On May 1, 2008, at 11:38 AM, Finn Arne Gangstad wrote:
> > Where do we want to go with submodules?
> 
> I have two uses for submodules.
> 
> The first one is... well, not really submodules at all. I really want  
> sparse checkout so I can avoid bothering with parts of the larger  
> project tree I don't care about or need.

When you say "checkout" do you really mean "git checkout" (IOW, you
still have the history for *everything* in .git but you just
don't want your working tree to be polluted by the stuff you don't
need at the moment) or are you talking about "partial cloning"?
The reason I'm asking is because a need for "partial cloning"
is very real around where I work. Which is easy to understand
because TeamWare (a precursor to BitKeeper) supports such a
concept. Now, before I get beaten to death: I DO understand why 
"partial cloning" and changeset-oriented SCMs don't go together
well. Yet, it seems to me that a sort of "transitive closure"
of the changesets for the files I'm actually interested in might
be a natural way of having such a feature.

>  But right now submodules are  
> the only way to approximate sparse checkout, 

For us submodules seem to be  the only way to approximate "sparse
cloning" and that's why the usage patterns I worry about don't
necessarily match the ones that drive "git submodule"

Thanks,
Roman.

  reply	other threads:[~2008-05-06 23:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  4:08 Making submodules easier to work with (auto-update on checkout or merge, stash & restore submodules) Tim Harper
2008-04-30  4:47 ` Tim Harper
2008-04-30  6:14 ` Andreas Ericsson
2008-04-30 10:31 ` Johannes Schindelin
2008-04-30 16:47   ` Avery Pennarun
2008-04-30 17:21     ` Ping Yin
2008-04-30 19:55     ` Roman Shaposhnik
2008-04-30 20:26       ` Avery Pennarun
2008-04-30 20:19   ` Tim Harper
2008-04-30 20:31     ` Avery Pennarun
2008-04-30 21:37       ` Tim Harper
2008-04-30 21:48         ` Avery Pennarun
2008-04-30 22:23           ` Roman Shaposhnik
2008-04-30 22:28             ` Avery Pennarun
2008-05-01 18:38               ` Making submodules easier to work with Finn Arne Gangstad
2008-05-01 19:55                 ` Avery Pennarun
2008-05-06 23:47                   ` Roman Shaposhnik
2008-05-07 16:14                     ` Avery Pennarun
2008-05-08  1:13                       ` Ping Yin
2008-05-01 23:29                 ` Steven Grimm
2008-05-06 23:17                   ` Roman Shaposhnik [this message]
2008-05-01  4:56     ` Making submodules easier to work with (auto-update on checkout or merge, stash & restore submodules) Ping Yin

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=1210115872.25663.1097.camel@work.sfbay.sun.com \
    --to=rvs@sun.com \
    --cc=apenwarr@gmail.com \
    --cc=finnag@pvv.org \
    --cc=git@vger.kernel.org \
    --cc=koreth@midwinter.com \
    --cc=timcharper@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.