Issue 850 - git post-receive hook is not calling git-update-server-info (indefero)

26 views
Skip to first unread message

no-r...@ceondo.com

unread,
Oct 2, 2013, 2:11:37 AM10/2/13
to indefero...@googlegroups.com
Hello,

A new issue has been created and assigned
to you:

850 - git post-receive hook is not calling git-update-server-info
Project: Indefero
Status: New
Reported by: Nikolaus Schaller
Labels:
Type:Defect
Priority:Medium

Description:

the default post-receive hook does a

exec git update-server-info

but the Indefero's version calls a gitpostupdate.php script.

The result is that the server-info isn't updated which makes problems when cloning the git repository over http.

A (very short) description of how that works is here:

http://git-scm.com/book/en/Git-Internals-Transfer-Protocols

<quote>
$ git clone http://github.com/schacon/simplegit-progit.git
The first thing this command does is pull down the info/refs file. This file is written by the update-server-info command, which is why you need to enable that as a post-receive hook in order for the HTTP transport to work properly
</quote>

So it is not possible to http-clone an indefero git - unless I call git update-server-info manually.

--
Issue: http://projects.ceondo.com/p/indefero/issues/850/


Reply all
Reply to author
Forward
0 new messages