git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git "thin" submodule clone to feed "describe"
@ 2016-02-23 21:03 Martin Langhoff
  2016-02-23 21:33 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Langhoff @ 2016-02-23 21:03 UTC (permalink / raw)
  To: Git

Hi git list! long time no see! :-) Been missing you lots.

Do we currently have any means to clone _history_ but not _blobs_ of a
repo, or some approximation thereof?

With a bit more context: If I have a top-level project using a couple
dozen submodules, where the submodules are huge, do I have a
git-native means of running git-describe on each submodule without
pulling the whole thing down?

In this context, most developers want to get full checkout of some
submodules, but not of all; and 'git describe' of the submodules is
needed to 'shim' the missing submodules appropriately.

If the answer is no, there's a bunch of ways I can carry that as extra
data in the top level project. It's possible, yet inelegant &
duplicative.

thanks,



martin
-- 
 martin.langhoff@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git "thin" submodule clone to feed "describe"
  2016-02-23 21:03 git "thin" submodule clone to feed "describe" Martin Langhoff
@ 2016-02-23 21:33 ` Junio C Hamano
  2016-02-24  1:28   ` Martin Langhoff
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2016-02-23 21:33 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: Git

Martin Langhoff <martin.langhoff@gmail.com> writes:

> Hi git list! long time no see! :-) Been missing you lots.
>
> Do we currently have any means to clone _history_ but not _blobs_ of a
> repo, or some approximation thereof?
>
> With a bit more context: If I have a top-level project using a couple
> dozen submodules, where the submodules are huge, do I have a
> git-native means of running git-describe on each submodule without
> pulling the whole thing down?

No, I do not think so.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git "thin" submodule clone to feed "describe"
  2016-02-23 21:33 ` Junio C Hamano
@ 2016-02-24  1:28   ` Martin Langhoff
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Langhoff @ 2016-02-24  1:28 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Git

On Tue, Feb 23, 2016 at 4:33 PM, Junio C Hamano <gitster@pobox.com> wrote:
> No, I do not think so.

Thanks. I will probably setup a pre-commit hook at the top level
project to update a submodule metadata file.

Not the prettiest but... :-)



m
-- 
 martin.langhoff@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-24  1:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 21:03 git "thin" submodule clone to feed "describe" Martin Langhoff
2016-02-23 21:33 ` Junio C Hamano
2016-02-24  1:28   ` Martin Langhoff

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).