Hello team, I'm looking through it but if I remember correctly any type of Editor and IndexEditor is eventually converted into a CommitHook and the whole list of commit hooks is eventually composed into a single big one: `CompositeHook.compose()`.
By looking at the code there's no de-duplication, which means that if by mistake or willingly someone register an Editor twice, depending on the editor implementation it could execute the operation twice or even going into a stack overflow. Am I right in my above statement? Shall we do anything? Decoupling during the compose? We have a set of "default" CommitHook defined in Jcr(). What is it making us decide whether something should end in that place? Additionally, if I'm building an application using Oak, how can I initiate a repository that does NOT have some of the "default". Should we change this aspect? Cheers Davide
