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

Re: Integration branching

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 7, 2008, 17:41 UTC
Message-ID
<7vod8lpnpb.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<b24851260804070602o11b93923m7ce7d79d5f59547b@mail.gmail.com>
"Kai Hendry" <hendry@aplixcorp.com> writes:
Show 8 quoted lines
> So I expected it to work like so:
>
> git clone git://git.webkit.org/WebKit.git
> git checkout -b test
>
> <Make a few small changes and commit>
>
> git-config remote.upload.url ssh://git.webvm.net/srv/git/webkit-test

A set of big questions is how that git.webvm.net/srv/git/webkit-test repository was prepared, what its history look like and how it relates to the history your repository has. I presume that that is different from the repository you are pushing from (which is "x61:aplix/test/WebKit" repository), but other than that you did not give any details to guess further.

> x61:~/aplix/test/WebKit% git push --thin -v upload test

By the way, that --thin is an implementation detail and not meant for the end user consumption. I do not think it would matter in this case, though.

Show 9 quoted lines
> Pushing to ssh://git.webvm.net/srv/git/webkit-test
> Counting objects: 371612, done.
> Compressing objects: 100% (67851/67851), done.
> Writing objects:  11% (43886/371612), 25.32 MiB | 88 KiB/
>
> However when uploading the branch it seems to upload _everything_
> which is far too big and impractical. Couldn't it just somehow
> reference the remote branch and just publish the patch of the "small
> changes"?

What you described is exactly what is supposed to be doing, but again as we do not know how that git.webvm.net:/srv/gi/webkit-test/ repository was prepared, we cannot tell.

But I have a theory:
    http://thread.gmane.org/gmane.comp.version-control.git/77643
and the latest code is still parked in 'pu' branch.
Previous: Kai HendryNext: Kai Hendry
Message 2 of 11 in “Integration branching”
  1. Kai HendryApr 7, 2008
  2. Junio C HamanoApr 7, 2008
  3. Kai HendryApr 7, 2008
  4. Avery PennarunApr 7, 2008
  5. Kai HendryApr 8, 2008
  6. Junio C HamanoApr 8, 2008
  7. Mike HommeyApr 8, 2008
  8. Kai HendryApr 8, 2008
  9. Mike HommeyApr 8, 2008
  10. Mike HommeyApr 10, 2008
  11. Junio C HamanoApr 7, 2008

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.