24#ifndef GITPULLHANDLER_HPP
25#define GITPULLHANDLER_HPP
78 const std::vector<std::pair<std::string, std::vector<CommitDetails>>>&
GetFetchResults()
const;
82 std::function<
int( std::vector<ConflictData>& aConflicts )> aCallback )
87 void UpdateProgress(
int aCurrent,
int aTotal,
const wxString& aMessage )
override;
96 std::vector<std::pair<std::string, std::vector<CommitDetails>>>
m_fetchResults;
std::string getFirstLineFromCommitMessage(const std::string &aMessage)
std::function< int(std::vector< ConflictData > &aConflicts)> m_conflictCallback
PullResult handleFastForward()
void SetConflictCallback(std::function< int(std::vector< ConflictData > &aConflicts)> aCallback)
PullResult handleMerge(const git_annotated_commit **aMergeHeads, size_t aMergeHeadsCount)
const std::vector< std::pair< std::string, std::vector< CommitDetails > > > & GetFetchResults() const
void UpdateProgress(int aCurrent, int aTotal, const wxString &aMessage) override
std::string getFormattedCommitDate(const git_time &aTime)
std::vector< std::pair< std::string, std::vector< CommitDetails > > > m_fetchResults
git_time_t their_commit_time
git_time_t our_commit_time