Build Errors with Git 1.7.2.5
P. J. McDermott
pjm at nac.net
Tue Sep 20 06:13:45 CEST 2011
On 09/19/2011 07:48 PM, Lars Hjemli wrote:
> 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
Ah, I see. It builds successfully then. Thanks for the explanation!
--
P. J. McDermott
mailto:pjm at nac.net | http://identi.ca/pehjota
More information about the CGit
mailing list