stravid / hulkort

Track and save your Git commit statistics
hulkort.com
1 stars 0 forks source link

Due to Heroku DNS issues we have to use the www subdomain #44

Closed stravid closed 9 years ago

stravid commented 9 years ago

Everybody has to update their hook :-(

Btw. the install instructions did not work for me anymore, the linked post-commit file was not present in an example repository after running git init. Does this still work for you, @tombu ?

tombu commented 9 years ago

Didn´t use it for a while but I had issues too when I started using it again. I can´t remember how I fixed it right now but I can take a look at it tomorrow and post my solution.

tombu commented 9 years ago

It took me some time but I found my former issue. Looks like I updated/re-installed git a while ago and the old 'templates' directory is no longer used (in my case: /usr/local/git/share/git-core/templates/). Using which git I realized that the version from /usr/bin/git is used instead of /usr/local/git/bin/git. So I just moved my post-commit hook into the new 'templates/hooks' directory. After re-initializing every git repo (git init) everything worked as expected.

stravid commented 9 years ago

For me /Library/Developer/CommandLineTools/usr/share/git-core/templates/hooks is working!