salarkhan / git-pear

swap credentials after each commit
3 stars 0 forks source link

only verbose commit messages work #30

Closed salarkhan closed 10 years ago

salarkhan commented 10 years ago

Maybe this is a good thing for the students lololol.

Not really sure how pear is borking commit -m though.. screen shot 2014-07-09 at 12 57 00 am

supertopher commented 10 years ago

we should see if we can access that commit message in the pre-commit hook. this is going to be a problem going forward. Especially as we open source, we can't teach the world how to set their editor preference

salarkhan commented 10 years ago

In the pre-commit hook, the commit message hasn't been created yet, so we prob can't access it. Do we need to involve another hook? ( ie. commit-msg )

Last resort is going back to the post-commit way of doing things here's the git man page on hooks

salarkhan commented 10 years ago

Closed via #33

supertopher commented 10 years ago

high five on this one