Revision 53fcf5a...

Go back to digest for 4th May 2014

Features in Development Tools

Aki Koskinen committed changes in [libqgit2] /:

Added diffing between two trees in a repository

A new method in Repository - diffTrees() - can be used to produce an
object of a new class: Diff. The diffTrees() method is a direct wrapper
to libgit2's git_diff_tree_to_tree() method and the Diff class is a
wrapper to the git_diff type.

The Diff object can be used to get the deltas from the diff. The needed
classes - DiffDelta and DiffFile - were already present in libqgit2
beforehand.

File Changes

Added 3 files
  •   src/qgitdiff.cpp
  •   src/qgitdiff.h
  •   tests/Diff.cpp
Modified 3 files
  •   src/qgitrepository.cpp
  •   src/qgitrepository.h
  •   tests/CMakeLists.txt
6 files changed in total