Hi all,
I found a post-receive hook for Git after some googling that I use to e-mail all commits to a remote/shared repo.
The problem with this post-receive hook (found here: http://bit.ly/19NdKG), is that it only has the capability to provide who made the commit, the log message, date, file(s) affected. I also want to see the affected file(s) generated patches in the e-mail to see what changes were made to the code. Subversion does this rather nicely.
Does anyone have a solution for perhaps an env-variable that may be passed to the post-receive hook that does this? Or even better, an example that is already cooked up?
Thanks all!