#A -Probably we can introduce a new type CommitAttributes which can be attached to CommitInfo and which can be modified by the CommitHooks. The CommitAttributes can then later be accessed by Observer
This is already present via the CommitInfo.info map. It is even used in a similar way. See CommitInfo.getPath() and its usages. AFAIU the only part where your cases would differ is that the information is assembled by some commit hooks instead of being provided at the point the commit was initiated.
Michael
