# git-bundle behaves unexpected with submodules

1 messages from 2012-06-27 to 2012-06-27. Participants: Naja Melan.
Thread: https://gitlist.dev/t/30915

## Naja Melan, 2012-06-27 14:47

Subject: git-bundle behaves unexpected with submodules
Message-ID: <20120627164742.22f3941c@localhost>
URL: https://gitlist.dev/e/20120627164742.22f3941c%40localhost

```
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

```
