timeglass / glass

Automated time tracking for Git repositories. [DEPRECATED]
Mozilla Public License 2.0
583 stars 27 forks source link

Option to put duration in message body instead of title #42

Closed tonglil closed 9 years ago

tonglil commented 9 years ago

After using this for a few days, I feel like git messages become too cluttered with these time measurements.

I would like to keep the durations, but instead have them in the git message body.

This would also allow me to write longer commit messages.

advdv commented 9 years ago

Hey There! I'm not sure, but you should be able to prefix the message format with newlines like so:

"commit_message": "\n\n [spent {{.}}]"

The newlines should move it to the next line and effectively write it to the body of the message right?