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

Re: Question about handling of heterogeneous repositories

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 30, 2005, 13:15 UTC
Message-ID
<81b0412b0511300515u5d2840ccv92be6e374dd795be@mail.gmail.com>
In-Reply-To
<200511301405.19541.Josef.Weidendorfer@gmx.de>
On 11/30/05, Josef Weidendorfer <Josef.Weidendorfer@gmx.de> wrote:
Show 9 quoted lines
> > BTW, how does git-mv behave for out-of-tree renaming? How about
> > inter-repo renaming (remove+add)?
>
> git-mv will fail. The source has to appear in git-ls-files, and the
> target simply is given to "git-update-index -add", which will return an
> 'outside repository' error. Hmmm... git-mv should check this itself.
>
> To detect inter-repository renaming, one has to see both repositories.
> Currently, git/cogito etc. commands only work with one repository only.
This case is somewhat special: one is _guaranteed_ to see both repositories.
PS: Im'restoring git@vger.kernel.org in cc-list, the discussion could be useful
Previous: Alex RiesenNext: Johannes Schindelin
Message 6 of 11 in “Question about handling of heterogeneous repositories”
  1. Alex RiesenNov 22, 2005
  2. Andreas EricssonNov 22, 2005
  3. Alex RiesenNov 22, 2005
  4. Petr BaudisNov 27, 2005
  5. Alex RiesenNov 29, 2005
  6. Alex RiesenNov 30, 2005
  7. Johannes SchindelinNov 30, 2005
  8. Josef WeidendorferNov 30, 2005
  9. Alex RiesenNov 30, 2005
  10. Josef WeidendorferNov 30, 2005
  11. Alex RiesenDec 1, 2005

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.