Build Errors with Git

Lars Hjemli hjemli at
Tue Sep 20 01:48:56 CEST 2011

On Tue, Sep 20, 2011 at 00:58, P. J. McDermott <pjm at> wrote:
> I've done:
>  ~$ git clone git://
>  ~$ cd cgit/
>  ~/cgit$ git submodule init
>  ~/cgit$ $EDITOR .git/config
>  (set "url" under submodule "git" to ""
>  since is still down)
>  ~/cgit$ git submodule update

So far so good, but please skip the following steps:

>  ~/cgit$ cd git/
>  ~/cgit/git$ git checkout v1.7.2.5
>  ~/cgit/git$ cd ../

To recover after this 'git checkout', simply run another 'git
submodule update' in ~/cgit.

> I checked out version of Git and set GIT_VER accordingly because
> that is the version installed on my system.

There's no direct relation between cgit and the git version installed
on your machine - cgit is just statically linked with libgit.a and
xdiff.a in the git submodule (and we use a submodule since these
libraries does not have a stable api).


More information about the CGit mailing list