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

Re: Integration branching

From
Avery Pennarun <apenwarr@gmail.com>
Date
Apr 7, 2008, 18:32 UTC
Message-ID
<32541b130804071132q24acff6an853730af4fc7273e@mail.gmail.com>
In-Reply-To
<b24851260804071118h4eaadef8i8313c5a4cb26495d@mail.gmail.com>
On Mon, Apr 7, 2008 at 2:18 PM, Kai Hendry <hendry@aplixcorp.com> wrote:
Show 12 quoted lines
> On Mon, Apr 7, 2008 at 6:41 PM, Junio C Hamano <gitster@pobox.com> wrote:
>  >  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.
>
>  webkit-test was just a `git --bare init --shared` and completely empty
>  with I tried pushing (publishing) the changes to WebKit trunk.
>
>  With thanks,

Basically every git repository needs to be entirely self-sufficient, that is, it should be possible to check out a copy without referring to any external repositories. So your initial push to an empty repository will always upload all the objects, even if you pulled from some other.

The good news is that if your friends who checked out of the main repository want to try out your branch, it *won't* accidentally download all the extra objects over again. git will notice that they already have the same objects (retrieved from the main repo) and download only the new ones.

So yes, some space is "wasted" on your extra repo, but disk space is cheap anyway (and you now have a backup of the main repo for free :))

Have fun,
Avery
Previous: Kai HendryNext: Kai Hendry
Message 4 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.