Re: git "thin" submodule clone to feed "describe"

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: git "thin" submodule clone to feed "describe"

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:23

Martin Langhoff [off-list ref] 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.

Re: git "thin" submodule clone to feed "describe"

From: Martin Langhoff <hidden>
Date: 2016-06-15 23:08:24

On Tue, Feb 23, 2016 at 4:33 PM, Junio C Hamano [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help