{"thread":{"id":"41489","subject":"git \"thin\" submodule clone to feed \"describe\"","startedAt":"2016-02-23T21:03:45Z","lastAt":"2016-02-24T01:28:42Z","messageCount":3,"participants":["Martin Langhoff","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"279070","messageId":"CACPiFCLnXLdt5rLuX0a3pTS3OphKW=1oVKxyYpwvSLhY7ydb2g@mail.gmail.com","threadId":"41489","inReplyTo":null,"subject":"git \"thin\" submodule clone to feed \"describe\"","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2016-02-23T21:03:45Z","receivedAt":"2016-02-23T21:03:45Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Hi git list! long time no see! :-) Been missing you lots.\n\nDo we currently have any means to clone _history_ but not _blobs_ of a\nrepo, or some approximation thereof?\n\nWith a bit more context: If I have a top-level project using a couple\ndozen submodules, where the submodules are huge, do I have a\ngit-native means of running git-describe on each submodule without\npulling the whole thing down?\n\nIn this context, most developers want to get full checkout of some\nsubmodules, but not of all; and 'git describe' of the submodules is\nneeded to 'shim' the missing submodules appropriately.\n\nIf the answer is no, there's a bunch of ways I can carry that as extra\ndata in the top level project. It's possible, yet inelegant &\nduplicative.\n\nthanks,\n\n\n\nmartin\n-- \n martin.langhoff@gmail.com\n -  ask interesting questions\n - don't get distracted with shiny stuff  - working code first\n ~ http://docs.moodle.org/en/User:Martin_Langhoff\n"},{"id":"279078","messageId":"xmqq1t83yuv6.fsf@gitster.mtv.corp.google.com","threadId":"41489","inReplyTo":"CACPiFCLnXLdt5rLuX0a3pTS3OphKW=1oVKxyYpwvSLhY7ydb2g@mail.gmail.com","subject":"Re: git \"thin\" submodule clone to feed \"describe\"","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-02-23T21:33:49Z","receivedAt":"2016-02-23T21:33:49Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Martin Langhoff <martin.langhoff@gmail.com> writes:\n\n> Hi git list! long time no see! :-) Been missing you lots.\n>\n> Do we currently have any means to clone _history_ but not _blobs_ of a\n> repo, or some approximation thereof?\n>\n> With a bit more context: If I have a top-level project using a couple\n> dozen submodules, where the submodules are huge, do I have a\n> git-native means of running git-describe on each submodule without\n> pulling the whole thing down?\n\nNo, I do not think so.\n"},{"id":"279104","messageId":"CACPiFCJ216dx9s6YynH2d8StyNxR4zci9OhGKH4BbJXXf4SSUA@mail.gmail.com","threadId":"41489","inReplyTo":"xmqq1t83yuv6.fsf@gitster.mtv.corp.google.com","subject":"Re: git \"thin\" submodule clone to feed \"describe\"","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2016-02-24T01:28:42Z","receivedAt":"2016-02-24T01:28:42Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On Tue, Feb 23, 2016 at 4:33 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> No, I do not think so.\n\nThanks. I will probably setup a pre-commit hook at the top level\nproject to update a submodule metadata file.\n\nNot the prettiest but... :-)\n\n\n\nm\n-- \n martin.langhoff@gmail.com\n -  ask interesting questions\n - don't get distracted with shiny stuff  - working code first\n ~ http://docs.moodle.org/en/User:Martin_Langhoff\n"}]}