>> FWIW, changing the stack limit using ulimit does not change anything on my (Fedora) system. At some point, with exactly the same two leading numbers (those separated with a /)it seems to enter an endless (recursive) loop, eventually eating up all memory. And then, after some time, it segfaults. >> > > So today I tried a subtree push again. It took hours.... Then it pushed every single commit that was ever done to repository. So not actually an infinite loop, but close enough to make no difference? I think we have about three bugs interacting in interesting ways here - Is your repo one where the subtree was originally extracted from mainline? When you say it pushed every commit, does that mean that a bunch of mainline commits erroneously ended up in the subtree repo?