timeglass / glass

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

Doesn't work with SourceTree #57

Open miketamis opened 8 years ago

miketamis commented 8 years ago

It doesn't add the time when I commit using https://www.sourcetreeapp.com/ this may also be true with other Git guis. It also does auto push when I push with SourceTree.

fishcharlie commented 7 years ago

@advanderveer Any updates on this?

sbehrends commented 7 years ago

Same here. I guess that is something with the "hook". Not sure how glass works, but I guess that a git hook should be added and respected by sourcetree

fishcharlie commented 7 years ago

I fixed this by going into the .git/hooks folder and for every file changing glass to /usr/local/bin/glass. That seems to have solved the issue for me. It's a bummer that you have to make that change for every repo. Will try to look at the code at some point and see if I can make a pull request to make that change when it is creating the hook files. Haven't used Go before tho so might not be able to.