What does git update-server-info do?

What does git update-server-info do? How do I know if I need it? The manual says:

A dumb server that does not do on-the-fly pack generations must have some auxiliary information files in $GIT_DIR/info and $GIT_OBJECT_DIRECTORY/info directories to help clients discover what references and packs the server has. This command generates such auxiliary files.

How do I know if my server is dumb, and whether it does or does not do "on-the-fly pack generations", and whether it "must have some auxiliary information files"?

I am pushing a web app via ssh to a bare repository, then pulling from that bare repository into the web root.

Answers


Dumb server basically means accessed over HTTP. So if you access your Git repository over http: or https: URLs, you need the update-server-info business, otherwise (git:, ssh:, etc.) you don't need it.


Need Your Help

Flow Based Programming

language-agnostic paradigms

I have been doing a little reading on Flow Based Programming over the last few days. There is a wiki which provides further detail. And wikipedia has a good overview on it too. My first thought ...

How do i configure nginx to redirect to a url for robots.txt & sitemap.xml

nginx robots.txt

I am running nginx 0.6.32 as a proxy front-end for couchdb. I have my robots.txt in the database, reachable as http://www.example.com/prod/_design/mydesign/robots.txt. I also have my sitemap.xml wh...