From: Jason Merrill Date: Sat, 26 Sep 2009 04:44:28 GMT Subject: Re: git clone sending unneeded objects Message-ID: <4ABD9C2C.60800@redhat.com> In-Reply-To: <4ABD4F7B.4030701@redhat.com> Incidentally, somewhat related to this issue, I've noticed that if I fetch a branch which I don't currently have in my repository, and I have most of the commits on that branch in my object store (or in an alternate repository) but not the most recent commit, git fetch isn't smart enough to only grab the commits I'm actually missing, it wants to fetch much more. I would expect that since the clone pulled down everything in the gcc.git repository, I could then do git config remote.origin.fetch 'refs/remotes/*:refs/remotes/origin/*' git fetch and have all the branches, not just the ones in refs/heads. But when I do this git fetch wants to fetch some 500k redundant objects. Jason