librelist archives

« back to archive

examples out of date?

examples out of date?

From:
Han-Wen Nienhuys
Date:
2012-03-13 @ 15:33
trying to build examples, I get:

gcc -o diff -g -I../include -I../src diff.c -L../build -lgit2 -lz
diff.c: In function ‘main’:
diff.c:175: error: ‘git_diff_options’ has no member named ‘src_prefix’
diff.c:176: error: ‘git_diff_options’ has no member named ‘dst_prefix’
make: *** [diff] Error 1


this is on

commit a17e882fab4e190d5a052cbc9cf6a238a9166a7c
Merge: ad87ccb 0e8144f
Author: Vicent Martí <tanoku@gmail.com>
Date:   Sun Mar 11 14:09:52 2012 -0700

    Merge pull request #594 from evhan/development

    add chicken-git bindings to readme


-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

Re: [libgit2] examples out of date?

From:
Russell Belfer
Date:
2012-03-13 @ 15:52
Yup, it looks like they're out of date. We renamed those to "old_prefix"
and "new_prefix" to be consistent with the naming of everything else. I'll
fix it later this week...

-- Russell


On Tue, Mar 13, 2012 at 8:33 AM, Han-Wen Nienhuys <hanwenn@gmail.com> wrote:

> trying to build examples, I get:
>
> gcc -o diff -g -I../include -I../src diff.c -L../build -lgit2 -lz
> diff.c: In function ‘main’:
> diff.c:175: error: ‘git_diff_options’ has no member named ‘src_prefix’
> diff.c:176: error: ‘git_diff_options’ has no member named ‘dst_prefix’
> make: *** [diff] Error 1
>
>
> this is on
>
> commit a17e882fab4e190d5a052cbc9cf6a238a9166a7c
> Merge: ad87ccb 0e8144f
> Author: Vicent Martí <tanoku@gmail.com>
> Date:   Sun Mar 11 14:09:52 2012 -0700
>
>    Merge pull request #594 from evhan/development
>
>    add chicken-git bindings to readme
>
>
> --
> Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
>

Re: [libgit2] examples out of date?

From:
schu
Date:
2012-03-13 @ 15:55
On 03/13/2012 04:52 PM, Russell Belfer wrote:
> Yup, it looks like they're out of date. We renamed those to "old_prefix"
> and "new_prefix" to be consistent with the naming of everything else. I'll
> fix it later this week...

I've just fixed it a second ago.

Re: [libgit2] examples out of date?

From:
Russell Belfer
Date:
2012-03-13 @ 15:59
On Tue, Mar 13, 2012 at 8:55 AM, schu <schu-github@schulog.org> wrote:

> On 03/13/2012 04:52 PM, Russell Belfer wrote:
> > Yup, it looks like they're out of date. We renamed those to "old_prefix"
> > and "new_prefix" to be consistent with the naming of everything else.
> I'll
> > fix it later this week...
>
> I've just fixed it a second ago.
>

Too fast! It's usually Vicent's job to finish something before I can write
an email. Thanks,

-- Russell