Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kgo: add PreCommitContextFn, enabling pre-commit interceptors for met…
…adata Today, there is no way to add metadata to commits. I originally figured the use cases were too advanced and niche, however, there are use cases. The PreCommitContextFn allows one to hook into *just* before a commit is issued to annotate any part of it as desired, or to abort the commit altogether. This basically enables associating commits with any metadata, or other advanced unknown use cases.
- Loading branch information