git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: dependable submodules

From
Daniel <daniel@netwalk.org>
Date
Mar 22, 2011, 03:56 UTC
Message-ID
<AANLkTikv+Wf_nSt0GZj0WgPjpbk6Kr_WG-ueO6US9bUM@mail.gmail.com>
In-Reply-To
<4D877A70.8070907@jku.at>
On Mon, Mar 21, 2011 at 9:18 AM, Robert Pollak <robert.pollak@jku.at> wrote:
Show 9 quoted lines
>  On 2011-03-20 Daniel wrote:
> [...]
>> So would it be correct to say that even though those files are
>> remotely fetched on a clone of the repository, they are actually
>> revisioned and stored in the super project?
>
> You might want to try Avery Pennarun's git-subtree, which seems to
> provide this functionality.
> It's at https://github.com/apenwarr/git-subtree.

I tried git-subtree. thanks but this is not what I wanted. This removed the .git dir for the subtree and hence updating the subtree is not easy.

I want the functionality of git submodule except that I don't want the version checked in as part of the superproject to have to be fetched remotely.

-d
-- 
"America was founded by men who understood that the threat of domestic
tyranny is as great as any threat from abroad. If we want to be worthy
of their legacy, we must resist the rush toward ever-increasing state
control of our society. Otherwise, our own government will become a
greater threat to our freedoms than any foreign terrorist."
 - Ron Paul, Texas Straight Talk, May 31, 2004
Previous: Robert PollakNext: Avery Pennarun
Message 7 of 11 in “dependable submodules”
  1. DanielMar 20, 2011
  2. Junio C HamanoMar 20, 2011
  3. DanielMar 20, 2011
  4. Jens LehmannMar 20, 2011
  5. DanielMar 20, 2011
  6. Robert PollakMar 21, 2011
  7. DanielMar 22, 2011
  8. Avery PennarunMar 22, 2011
  9. in-gitvger@baka.orgMar 22, 2011
  10. DanielMar 22, 2011
  11. Jens LehmannMar 22, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.