virtual PushResult Push(GIT_PUSH_HANDLER *aHandler, bool aForce=false)=0
wxString m_expectedRemoteName
GIT_PUSH_HANDLER(KIGIT_COMMON *aCommon)
bool MatchesExpectedDestination(const wxString &aRemoteName, const wxString &aPushUrl) const
True without an expectation, or when both values match the confirmed destination.
void SetExpectedTarget(const wxString &aBranch, const wxString &aHeadOid)
Pin the branch and full HEAD commit ID confirmed by the caller, so a queued push cannot publish a dif...
bool MatchesExpectedTarget(const wxString &aBranch, const wxString &aHeadOid) const
True without an expectation, or when both values match the captured target.
bool m_hasExpectedDestination
wxString m_expectedBranch
PushResult PerformPush(bool aForce=false)
wxString m_expectedPushUrl
wxString m_expectedHeadOid
void SetExpectedDestination(const wxString &aRemoteName, const wxString &aPushUrl)
Pin the remote and the address the caller confirmed, so a push queued behind a change to either is re...
The project's git session.
KIGIT_REPO_MIXIN(KIGIT_COMMON *aCommon)
GIT_BACKEND * GetGitBackend()
wxLogTrace helper definitions.