theoretically what the dialog shows can go out of sync with this change
but the changes committed will be up-to-date due to the
`git_index_update_all` call once the dialog is finished
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
libgit2 cannot even fetch from shallow copies.. well, the file status is
more than enough for dolphin - anything else belongs to a dedicated git
repository management tool anyway
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
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>