commits
- implemented in a backwards compatible way, introduces migrations and
updates an existing lexicon
- newly added field is not marked required, so we should still be able
to index old repo-create events properly
This should help alleviate the memory leakyness that was exhibited when
we stored the entire object.Commit in memory.
we want to enable proper rollback mechanism on knots to eventually
nearly there; some hardcoded paths need tweaking for push to work
The previous cache key was just the path, so files that are often common
across git repos like '.gitignore' etc. show a cached "last commit" time
from another repository. Pretty funny.
This uses the current plumbing.Hash.String():path as the key which
should theoretically be unique to each repository.