1

I am setting up a Git server using HTTP transport. As both my server and the clients will be using Git >= 1.6.6, Smart HTTP Transport is enabled.

The Git manual section about the HTTP/S Protocol says that I need to enable a post-update hook calling:

git update-server-info 

Is this command still needed when using the Smart HTTP Transport (Git >= 1.6.6)?

1 Answer 1

1

If you have set up the git-http-backend on the server correctly: No.

Personally I would leave the update-server-info hook in place. Doesn't hurt (not enough to matter, anyway).

1
  • Thanks! Leaving the hook in place is not an issue. I just wanted to know how hard I should remember to enable the hook on each newly-created repository. Commented Jan 24, 2014 at 16:34

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.