Giter Club home page Giter Club logo

libgit2cpp's Issues

libgit2cpp seems to use deprecated objects

I could not compile the library on windows 10 / VS2017 because git_ref_t and git_otype were not found.

I included todays checkout of libgit2 into libs/libgit2 directory.

both types were found in libgit2's srcdir within include/git2/deprecated.h replaced by:
#define git_ref_t git_reference_t
#define git_otype git_object_t

seems to be deprecated at least since Jan 23rd regarding to libgit2 log

libgit2cpp was compiling fine with my changes appended
deprecated_patch.txt

cannot compile

The simple instructions to building lead me to this error:

libgit2cpp/src/annotated_commit.cpp:14:16: error: β€˜git_annotated_commit_ref’ was not declared in this scope return git_annotated_commit_ref(ptr());

what am I doing wrong?

Submodule update

As mentioned in #17 the submodule should be updated to a newer version, because currently one is not able to build the checkout of the current branch:master state.

Or do you want to wait for a tag of libgit2?

Best regards

confusion about usage

I am not exactly sure how this library wrapper was meant to be used. I am looking at examples and they are okay, but functionalities for cloning and fetching are not there and I actually need them. There is no function for cloning in wrapper, so I was wondering, what kind of role does the wrapper have in relation to the original library?

Example to create branch

I looked into the source code and didn't find a way to create branches and tags.
Can you add an example for creating branches?

How to fetch?

Hi, I'm using your library and like it very much. However I couldn't find an example of how to do git fetch.

Is this functionality already included?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.