Revision 272003f...

Go back to digest for 13th April 2014

Features in Networking Tools

Aki Koskinen committed changes in [libqgit2] /:

Added git push

Pushing to a remote is now possible. A Push object is created for a
remote using the Repository class. The Push object is then configured
as needed. Finally calling the execute() method does the actual pushing.

The test needed a bit of configuration since libgit2 supports pushing to
only bare local repositories - a bare local repository is created before
the pushing test is run.

File Changes

Added 3 files
  •   src/qgitpush.cpp
  •   src/qgitpush.h
  •   tests/Push.cpp
Modified 5 files
  •   qgit2.h
  •   src/qgitrepository.cpp
  •   src/qgitrepository.h
  •   tests/CMakeLists.txt
  •   tests/TestHelpers.h
8 files changed in total