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

git-bundle behaves unexpected with submodules

From
Naja Melan <najamelan@autistici.org>
Date
Jun 27, 2012, 14:47 UTC
Message-ID
<20120627164742.22f3941c@localhost>
I am the author of a script: https://github.com/najamelan/git-backup
I am using git bundle to back up git repositories. In recent versions of git the repository metadata of a submodule are stored in .git/modules of the parent repository.
When git-bundle is ran in a submodule, it creates a bundle of the parent repo, omitting the information from the submodule, thus effectively not backing it up.
Anyone who can shed light on this?

thanx in advance naja

Message 1 of 1 in “git-bundle behaves unexpected with submodules”
  1. Naja MelanJun 27, 2012

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.