gitlabhq/gitlab_git — pull request #2 by splattael (2013-05-14 14:58:28+00:00)
Title: Refactor commit and improve code coverage.

Define serializable keys as a constant.
This reduces ivar allocation on every commit instance.

Coverage improves:
* commit_spec.rb: 87.14% -> 98.57%
* overall: 90.91% -> 92.16%