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