Re: Error with GIT Repository

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: "Luxenberg, Scott I." <scott.luxenberg@noblis.org>, pgsql-hackers <pgsql-hackers@postgresql.org>, "Frost, Stephen" <sfrost@noblis.org>
Date: 2010-06-10T19:23:47Z
Lists: pgsql-hackers, pgsql-performance
Excerpts from Andrew Dunstan's message of jue jun 10 11:26:59 -0400 2010:

> Why are you cloning over http? Here is the best way to clone, which 
> seems to be working:
> 
>     [andrew@sophia ]$ git clone --mirror
>     git://git.postgresql.org/git/postgresql.git
>     Initialized empty Git repository in /home/andrew/postgresql.git/

In case you're a git-ignorant like me and are wondering why the above
does not produce a usable checkout, the complete recipe is here:

http://archives.postgresql.org/message-id/20090602162347.GF23972@yugib.highrise.ca
(in short, you need a git clone --reference)

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support