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

Re: [PATCH] Use the alternates of the source repository for dissociating clone

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 15, 2015, 21:59 UTC
Message-ID
<xmqqbnbzhjym.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<561F8DE9.4040703@cetitec.com>
Alexander Riesen <alexander.riesen@cetitec.com> writes:
> The "--dissociate" option required reference repositories, which sometimes
> demanded a look into the objects/info/alternates by the user. As this
> is something which can be figured out automatically, do it in the
> clone unless there is no other reference repositories.
I do not quite get this.

Before "clone" with or without "--dissociate" there is no objects/info/alternates (before "clone", there is no ".git" to find that file in the first place).

Are you talking about making a clone of a repository that was created with "clone --reference", to borrow from the same third repository the original is borrowing from?

Previous: Johannes LöthbergNext: Alexander Riesen
Message 15 of 16 in “Use the alternates of the source repository for dissociating clone”
  1. Use the alternates of the source repository for dissociating cloneAlexander Riesen, Oct 15, 2015
  2. Johannes SchindelinOct 15, 2015
  3. Allow "clone --dissociate" to dissociate from alternatesAlexander Riesen, Oct 15, 2015
  4. Alexander RiesenOct 21, 2015
  5. Junio C HamanoOct 21, 2015
  6. Consider object stores in alternates during a dissociating cloneAlexander Riesen, Oct 22, 2015
  7. Junio C HamanoOct 22, 2015
  8. Alexander RiesenOct 22, 2015
  9. Junio C HamanoOct 22, 2015
  10. Alexander RiesenOct 22, 2015
  11. Junio C HamanoOct 22, 2015
  12. Junio C HamanoOct 22, 2015
  13. Documentation: AsciiDoc spells em-dash as double-dashes, not tripleJunio C Hamano, Oct 22, 2015
  14. Johannes LöthbergOct 23, 2015
  15. Junio C HamanoOct 15, 2015
  16. Alexander RiesenOct 16, 2015

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.