From: Johannes Schindelin Date: Wed, 04 Mar 2009 11:11:22 GMT Subject: Re: [PATCH] git-clone.txt: document that pushing from a shallow clone may work Message-ID: In-Reply-To: <7vvdqp5zx9.fsf@gitster.siamese.dyndns.org> Hi, On Wed, 4 Mar 2009, Junio C Hamano wrote: > Isn't the rule more or less like: > > If your shallow repository's history does not extend long enough and > the other repository forked before your truncated history, wyou cannot > compute the common ancestor and you cannot push out. Exactly. Back when I wrote the shallow code, I meant to investigate how to detect that condition, and fail gracefully (i.e. with a meaningful error message). IMHO that is more needed than documentation changes, as it affects more users ;-) But in the meantime, I had no use for shallow clones, and kind of hoped that it would become somebody else's itch. Ciao, Dscho