Re: [PATCH v2 09/10] builtin/replace: unset read_replace_refs
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Dec 7, 2013, 19:37 UTC
- Message-ID
- <CAP8UFD2XbxYDEevYGOwWJrqg6k=UYoCWn6gPONizrKuKOWf=qw@mail.gmail.com>
- In-Reply-To
- <loom.20131207T200130-598@post.gmane.org>
On Sat, Dec 7, 2013 at 8:02 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> > Wasn't replace mechanism tightened, so that replacing object > must be the same type as replaced object?
Yes, but if --force is used or if the replace ref is created with git update-ref, then it is not enforced.
> Is there a situation where you might want replace object > with different type of object?
This was discussed:
http://thread.gmane.org/gmane.comp.version-control.git/233157/
Thanks, Christian.