Reported by Gert van Valkenhoef, Oct 31, 2011
When creating a git repository by pushing it, the post-update hook creation code tries to unlink() the previously existing post-update hook. However, on my system, by default there is no post-update hook and thus creation of indefero's default hook fails. Thus, it seems to me that the unlink() should be preceded by file_exists() -- see attached patch.
Comment 2 by Thomas Keller, Oct 31, 2011
Thanks for the patch - applied (though slightly changed) in revision 8397d86.