git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-receive-pack doesn't understand objects/info/alternates?

From
Theodore Tso <tytso@mit.edu>
Date
Apr 16, 2007, 15:30 UTC
Message-ID
<20070416153040.GG27533@thunk.org>
In-Reply-To
<8aa486160704160613t3ac17e4co9177ad91fda8eb36@mail.gmail.com>
On Mon, Apr 16, 2007 at 03:13:25PM +0200, Santi Béjar wrote:
Show 11 quoted lines
> 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.
Thanks for the explanation!  

So if I add a symlink from .git/refs/heads/kludge to <linus'-tree-on-master>/.git/refs/heads/master this should work as a workaround now, right?

						- Ted
Previous: Santi BéjarNext: Junio C Hamano
Message 3 of 6 in “git-receive-pack doesn't understand objects/info/alternates?”
  1. Theodore Ts'oApr 16, 2007
  2. Santi BéjarApr 16, 2007
  3. Theodore TsoApr 16, 2007
  4. Junio C HamanoApr 16, 2007
  5. Theodore TsoApr 16, 2007
  6. Linus TorvaldsApr 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.