Hi Jonathan, Jonathan Nieder writes: > [...] > But if there are many, many submodules, it could be better to script > a --save-progress and --resume along the lines you described. > > Two possible approaches: > > - Make a new script using "git submodule foreach --recursive" that > steps through the list by hand, or > > - Take cmd_update from git-submodule.sh in the git sources and modify > to taste. > [...] I think modyfying the git-submodule.sh will be better for me. So I looked into it and first problem araised: How do I get a name of submodule with a name of a previous submodule? Maybe I will start with how my repository looks like: Main | --> sub1 | | | --> nsub1 | | | --> nsub2 | | | --> nsub3 | | | --> etc. | --> sub2 | | | --> nsub2 (no nsub1) | | | --> nsub3 | | | --> nsub4 | --> sub3 | | | --> nsub1 | | | --> nsub3 (no nsub2) | | | --> nsub4 | etc. It would be nice if I could get name like this sub1/nsub1 when I am in submodule sub1. Right now, I can get submodule name: nsub1. I tried to find some commands to get something like this, but could not find it. If I can get that, I will be in home. Do You know how to do it? BTW. thanks for previous suggestion. Lukasz Palczewski -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html