20#ifndef _GIT_PUSH_HANDLER_H_
21#define _GIT_PUSH_HANDLER_H_
54 bool MatchesExpectedTarget(
const wxString& aBranch,
const wxString& aHeadOid )
const;
58 void SetExpectedDestination(
const wxString& aRemoteName,
const wxString& aPushUrl );
63 bool MatchesExpectedDestination(
const wxString& aRemoteName,
const wxString& aPushUrl )
const;
wxString m_expectedRemoteName
GIT_PUSH_HANDLER(KIGIT_COMMON *aCommon)
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 m_hasExpectedDestination
wxString m_expectedBranch
bool HasExpectedDestination() const
PushResult PerformPush(bool aForce=false)
wxString m_expectedPushUrl
bool HasExpectedTarget() const
wxString m_expectedHeadOid
The project's git session.
KIGIT_REPO_MIXIN(KIGIT_COMMON *aCommon)
@ Busy
Another git operation held the action lock, so nothing was pushed.
#define APIEXPORT
Macros which export functions from a DLL/DSO.