Re: git-receive-pack doesn't understand objects/info/alternates?
- From
- Santi Béjar <sbejar@gmail.com>
- Date
- Apr 16, 2007, 13:13 UTC
- Message-ID
- <8aa486160704160613t3ac17e4co9177ad91fda8eb36@mail.gmail.com>
- In-Reply-To
- <E1HdQDl-0005ia-Bn@candygram.thunk.org>
On 4/16/07, Theodore Ts'o <tytso@mit.edu> wrote:
> > When I push a kernel repository to master.kernel.org, where the > repository only has at most a dozen changes on top of 2.6.21-rc7, I > noticed that it tried to push a *lot* of objects over ssh. As in:
This is because git only trusts the the commits in $GIT_DIR/refs. Since commit v1.5.1-107-ge3c6f24 (in next) git-fetch first checks if we have all the objects that we are going to fetch available locally. This could be added for the push. But for now you could add a branch in your repo in master.kernel.org to track linus' master branch.
Santi