From: Junio C Hamano Date: Tue, 02 Jul 2013 18:21:58 GMT Subject: Re: git clone -b Message-ID: <7vppv0960p.fsf@alter.siamese.dyndns.org> In-Reply-To: <51D274AA.2050902@atlas-elektronik.com> Stefan Näwe writes: >> While I wasn't paying much attention to this, I vaguely recall that >> people pointed out that using a fresh clone every time may not be >> what you want to do in the first place, and I happen to agree with >> them (and that is why I am not very much interested in this topic). > > As I said: We'd be using 'git archive --remote...' if that was > submodule-aware. That would still have to transfer full material enough to populate the working tree for a single revision. I was wondering why "clone once, and then update incrementally with 'fetch && reset --hard' && clean'" is not used, if the tree is for a build-bot.