Build Errors with Git 1.7.2.5

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


On Tue, Sep 20, 2011 at 00:58, P. J. McDermott <pjm at nac.net> wrote:
> I've done:
>  ~$ git clone git://hjemli.net/pub/git/cgit
>  ~$ cd cgit/
>  ~/cgit$ git submodule init
>  ~/cgit$ $EDITOR .git/config
>  (set "url" under submodule "git" to "https://github.com/git/git.git"
>  since git.kernel.org 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 1.7.2.5 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).

--
larsh




More information about the CGit mailing list