Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] refs/replace support


----- Ursprungligt meddelande -----
> Från: "Marc Strapetz" <marc.strapetz@xxxxxxxxxxx>
> Till: jgit-dev@xxxxxxxxxxx
> Skickat: onsdag, 16 jul 2014 14:26:25
> Ämne: [jgit-dev] refs/replace support
> 
> Today I learned about "git replace" and refs/replace. It seems that jgit
> does not support refs/replace currently. I think the core functionality
> should be rather easy to implement, either in RevWalk.lookupXXX() or
> even in ObjectIdOwnerMap.get(). On the other hand, when checking Git
> sources, replace-functionality affects a couple of files and there are a
> lot of ObjectIdOwnerMap.get() usages which I'm not sure about. So
> probably things won't be that easy.

No it won't be. As I see it we'll need API changes.

> Any ideas regarding this topic?

Yes. See https://git.eclipse.org/r/#/c/2322/

-- robin


Back to the top