and because showing the commit action makes no sense when no changes
(add, remove, modify) are done to the repo every time the actions are
requested a check will be done, note that the check may be quite
expensive for large repositories and delay the context menu
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the code for the implementation is actually the same as in
FileViewGitPlugin::slotPush() except the git_remote_push() call (and
obviously the information messages stating that pull is being done)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
one of the things that the previous implementation was lacking is the
credentials handling, also it was was very slow because it had to spawn
a process
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>