4.0 to 4.1 upgrade - post-receive file Needs To Be Manually Updated

Created by: terrywang

I just did a 4.0 to 4.1 upgrade. The upgrade guide From 4.0 to 4.1 is pretty clear but it seems to have missed a step to manually update the post-receive hook for gitolite.

In previous upgrade guides, like From 3.1 to 4.0 the step is mentioned.

For 4.0 to 4.1 upgrade, if I don't manually update the home/git/.gitolite/hooks/common/post-receive file, I'll get the following warning in Admin Area:

Project has invalid post-receive file.

  1. Make sure your gitolite instace has latest post-receive file.
  2. Make a link of post-receive hook file from gitolite to project repository

It can be fixed by manually copying the new post-receive file over.

So I wonder if this is missing step in the guide, or you guys think it is already covered by Update Gitolite.