kemayo/sublime-text-2-git — pull request #145 by spadgos (2012-06-27 12:47:48+00:00)
Title: Adds a commit message history

### What?

This stores the last X commit messages and prefills them in the commit message window. eg:

```
|
# my last commit message
# my second last commit message
...
```

This means that you can simply uncomment one to re-commit with an old/edited message

### Why?

I have a pre-commit hook that rejects the commit if it doesn't pass a linting stage. Masssssive frustration of typing a long and well-thought-out message only to have it disappear because I forgot a semicolon somewhere.

This feature can be disabled by setting `history_size` to `0`