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

Re: [PATCHv2] clone: support cloning full bundles

From
SBSanti Béjar <sbejar@gmail.com>
Date
Feb 25, 2008, 20:29 UTC
Message-ID
<8aa486160802251229x778c7427nd51093bc23ec6c8c@mail.gmail.com>
In-Reply-To
<7vlk58j0k1.fsf@gitster.siamese.dyndns.org>
On Mon, Feb 25, 2008 at 8:30 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> Santi Béjar <sbejar@gmail.com> writes:
>
>  > Signed-off-by: Santi Béjar <sbejar@gmail.com>
>  > ---
>  >
>  > Hi *,
>  >
>  >   while waiting for the C port of git-clone I've updated my patch to
>  > support bundles in "git clone".
>
>  I do not recall the v1 round of this patch, but it does not look
>  too bad.
Well, it was during the freeze, you probably had more important things to do :-)
http://article.gmane.org/gmane.comp.version-control.git/68035
Show 6 quoted lines
>
>  I was hoping, however, if we can replace "git fetch-pack" there
>  with "git-fetch" so that you do not have to have the if
>  conditional based on "$repo"'s type.  Isn't "git fetch" capable
>  of fetching from a bundle already?
>

"git fetch" is capable to fetch bundles, but to use "git fetch" instead of "git fetch-pack" you need to reorganize other things (not the same output, to download all the refs you need to write a config with refs/heads/*:..., "git fetch" does not have a --no-progress), so I opted for a minimal path (and not break the most used path :-).

I sent another patch to convert every transport to "git fetch" in:
http://article.gmane.org/gmane.comp.version-control.git/65669

but it had some problems (ups now I see I didn't answer to Johannes Schindelin's reply, sorry, or I cannot find it). At the end as git-clone was going to be ported to C...

Santi
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 12 in “[PATCHv2] clone: support cloning full bundles”
  1. Santi BéjarFeb 25, 2008
  2. Junio C HamanoFeb 25, 2008
  3. Santi BéjarFeb 25, 2008
  4. Junio C HamanoFeb 25, 2008
  5. Junio C HamanoFeb 27, 2008
  6. Santi BéjarFeb 27, 2008
  7. Santi BéjarFeb 27, 2008
  8. Daniel BarkalowFeb 27, 2008
  9. Junio C HamanoFeb 28, 2008
  10. Johannes SchindelinFeb 28, 2008
  11. Santi BéjarFeb 28, 2008
  12. Mark LevedahlFeb 29, 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.