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

Re: remote helpers: best practices for using the "refspec" capability

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
May 30, 2011, 18:04 UTC
Message-ID
<BANLkTimoQtZLw4NhenR9QbAt6EhSThWj2A@mail.gmail.com>
In-Reply-To
<alpine.LNX.2.00.1105301300520.2233@iabervon.org>
Heya,
On Mon, May 30, 2011 at 12:43, Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 7 quoted lines
> But the purpose of the namespacing is to be able to continue the correct
> incremental import, so it would make sense to do some arbitrary
> transformation to make your url be a valid ref directory, and use that.
>
> It would make sense to add support for a namespace where fast-import can
> write whatever it wants, and it'll get discarded after the fetch is done,
> if it's the case that anyone can stand not having incremental imports.

I remember a patch series by someone else a lot more that _disabled_ creating of refs during fast-import, and instead allowed for specifying what refs to update with which values at the end of the import.

-- 
Cheers,

Sverre Rabbelier
Previous: Daniel BarkalowNext: Jonathan Nieder
Message 9 of 15 in “Git fast-import : Warning duplicated ref: refs/remotes/origin/master”
  1. Jérémie NIKAESMay 29, 2011
  2. Jonathan NiederMay 29, 2011
  3. Jérémie NIKAESMay 30, 2011
  4. Jonathan NiederMay 30, 2011
  5. Jérémie NIKAESMay 30, 2011
  6. Documentation: do not misinterpret refspecs as bold text (Re: Git fast-import : Warning duplicated ref: refs/remotes/origin/master)Jonathan Nieder, May 30, 2011
  7. remote helpers: best practices for using the "refspec" capabilityJonathan Nieder, May 30, 2011
  8. Daniel BarkalowMay 30, 2011
  9. Sverre RabbelierMay 30, 2011
  10. Jonathan NiederMay 30, 2011
  11. Matthieu MoyMay 30, 2011
  12. Jérémie NIKAESMay 30, 2011
  13. Jonathan NiederMay 30, 2011
  14. Jérémie NIKAESMay 30, 2011
  15. Sverre RabbelierMay 30, 2011

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.