Martin Waitz wrote: > When adding an alternate object store then add entries from its > info/alternates files, too. > Relative entries are only allowed in the current repository. > Loops and duplicate alternates through multiple repositories are ignored. > Just to be sure that nothing breaks it is not allow to build deep > nesting levels using info/alternates. > + if (depth > 5) { > + error("%s: ignoring alternate object stores, nesting too deep.", > + relative_base); > + return; > + } Please, no magic numbers. Use preprocesor "constants" for that. -- Jakub Narebski Warsaw, Poland - : 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