Just a heads-up. This took me by surprise. And I suppose it will be the same even if the subrepo is a real subproject. To illustrate: ( mkdir super && cd super git init echo 0 > a; git add a; git commit -m0 echo 2 >> a; git commit -a -m1 echo 3 >> a; git commit -a -m2 cp -a .git sub cd sub git --bare config --bool core.bare true git repack -a -d ) Unexpectedly, the "super" repo is repacked, even though repack is called from the "sub". To actually repack the repo in the current directory if it is bare, use "git --bare repack ...". This kind of makes core.bare pointless: can't rely on it anyway. - 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