Re: Question about handling of heterogeneous repositories
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