Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AndreyG/libgit2cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: p-brz/libgit2cpp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 9 files changed
  • 1 contributor

Commits on Oct 9, 2016

  1. Turning boost dependence optional.

    * Included in CMakeLists option to enable/disable use of boost (and check if it is found on system).
    * Modified 'error.h' to use a custom 'format' (using variadic template) instead of boost::format.
    * Created 'optional.h' to wrap 'boost/optional' (when using boost) or using custom optional (without boost).
        * Changed 'repo.cpp' to use it
    * Modified 'diff.cpp' to allow alternate between 'boost::flatmap'(when available) or 'std::unordered_map'
    * Modified examples (log.cpp and rev-parse.cpp) to align with the changes.
    Paulo Brizolara
    Paulo Brizolara committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    8863fac View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2016

  1. Enhancements to turn boost optional

    * Changed custom `optional` implementation to avoid dynamic allocation
    * Changed `format` implementation to use `std::snprintf` instead of stream
        * Using `boost::format` if using boost
    * Moved 'internal' headers to specific folder
    * Minor changes (in `examples/log.cpp` and `src/repo.cpp`) to adapt to new implementations.
    Paulo Brizolara
    Paulo Brizolara committed Oct 18, 2016
    Configuration menu
    Copy the full SHA
    291b8ac View commit details
    Browse the repository at this point in the history
Loading