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

Re: Grafts workflow for a "shallow" repository...?

From
SRSverre Rabbelier <alturin@gmail.com>
Date
Sep 16, 2008, 22:02 UTC
Message-ID
<bd6139dc0809161502t121c5aa5la53784bb8ff273a2@mail.gmail.com>
In-Reply-To
<20080916135022.GA19466@atjola.homenet>
On Tue, Sep 16, 2008 at 15:50, Björn Steinbrink <B.Steinbrink@gmx.de> wrote:
> Maybe instead of providing "pre-shallowed" repos to clone from, that
> should have been an RFE to support shallow clones starting at a given
> commit in the DAG? I have no idea whether that's feasible though.

Would it be like grafts, only the graft is set up by the fetcher, instead of the host? (E.g., the graft is created on clone, instead of -before- the clone, by means of the --depth parameter?) Which means the mentioned security risk is not there (what with the fetcher setting it up himself).

-- 
Cheers,

Sverre Rabbelier
Previous: Björn SteinbrinkNext: Dmitry Potapov
Message 7 of 9 in “Grafts workflow for a "shallow" repository...?”
  1. Martin LanghoffSep 16, 2008
  2. Shawn O. PearceSep 16, 2008
  3. Junio C HamanoSep 16, 2008
  4. Björn SteinbrinkSep 16, 2008
  5. Michael J GruberSep 16, 2008
  6. Björn SteinbrinkSep 16, 2008
  7. Sverre RabbelierSep 16, 2008
  8. Dmitry PotapovSep 16, 2008
  9. SergioSep 16, 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.