I m trying to use libgit2 to made a pull/merge/push from and to a remote repository.
Unfortunatly look like i use it wrong.
So basically i do a pull, then try to merge it with merge_head_from_fetchhead
When i look at the result, the merge commit have two commit parent which are the same, and file from remote are missing.
Code is located here : Code on Gist : NotesModel.cpp line 85 The method trying to do the Pull Merge Push is void NotesModel::pullMergePush() Yeah i know, that s original :)
Thx a lot