Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 500137

Summary: post-receive-mail script should be moved to a better location
Product: [Fedora] Fedora EPEL Reporter: Noa Resare <noa>
Component: gitAssignee: Todd Zullinger <tmz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: el5CC: bkearney, chrisw, jwboyer, mastahnke, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: ActualBug
Fixed In Version: git- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-09 18:26:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 600411    
Bug Blocks:    

Description Noa Resare 2009-05-11 11:22:26 UTC
Description of problem:
The git distribution contains a script that can be used to send emails when
a new revision is pushed onto a repository named post-receive-email

This script currently resides in the documentation directory of git, a location
that has the version name of the git package encoded into it. This is a bit inconvenient since it will lead to silent breakage of the email hook on existing repositories when the git package is updated if the method of invoking the script suggested in the post-receive hook template script is used.

Version-Release number of selected component (if applicable):

I would suggest moving the hooks directory from %doc/hooks to /usr/share/git-core and at the same time update the post-receive hook template to refer to the new location in it's last line.

Comment 1 Todd Zullinger 2009-06-28 23:31:50 UTC
I've committed a change like this to the rawhide packages.  I'll try to see that it makes its way into the EL-5 branch at some point.

FWIW, the spec file from rawhide should rebuild on EL-5, if you wanted to test it and have an updated git. :)

Comment 2 Todd Zullinger 2010-06-11 16:37:35 UTC
Discussed an update to git-1.7.x on epel-devel-list yesterday.  Any help testing the packages there would be great.

Comment 3 Fedora Update System 2011-02-16 18:56:35 UTC
git- has been submitted as an update for Fedora EPEL 5.

Comment 4 Fedora Update System 2011-02-16 21:39:19 UTC
git- has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update git'.  You can provide feedback for this update here:

Comment 5 Fedora Update System 2011-03-09 18:26:28 UTC
git- has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.