"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> wrote: > ... >> Shouldn't we say "the client MUST NOT make reference update request if >> everything is up to date" which would imply that in practice there is no >> reason to send an empty pack data? > > Create a new branch to point at an existing object. Branch creation > causes a pack to be expected, but if you are creating a new branch > that points at an existing object there is nothing to pack. E.g.: > > git remote add -f A user@host:proj.git > git push A A/master:refs/heads/new-branch > > causes a 0 object pack file to be sent, assuming the remote project's > master branch has not changed in between the two commands. Ahh, you are right. Thanks. -- 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