Re: Question about handling of heterogeneous repositories

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2005-12-01 00:15:55
On 11/30/05, Josef Weidendorfer <Josef.Weidendorfer@gmx.de> wrote:
> > 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Dec 01 00:16:43 2005

This archive was generated by hypermail 2.1.8 : 2005-12-01 00:16:49 EST