On Fri, Apr 19, 2013 at 6:27 AM, Philip Oakley <philipoak...@iee.org> wrote: > From: "Konstantin Khomoutov" <kostix+...@007spb.ru> >> So I observe pushing/fetching works OK at least for a simple case like >> this one. >> >> Hence I'd like to ask: if the manual page is wrong or I'm observing >> some corner case? >> -- > > The manual is deliberately misleading. > The problem is that the depth is a movable feast that depends on how far the > branches have progressed. > The DAG will be missing the historic merge bases, and in some scenarios can > form disconnected runs of commits. The ref negotiation can also be a > problem. > > The git\Documentation\technical\shallow.txt has some extra details on > issues.
With recent improvements in index-pack, I think we can be certain that all gaps are caught. So either it works or it does not. It cannot lead to an incomplete repository. At least for git and smart http transports. So I'm inclined to lift the limitation for these transports. Missing merge bases remains a limitation the user should be aware of, of course. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html