From df2b1597db00a8e7ca32dc2f7695e3effc6911f2 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 3 Aug 2014 15:01:23 +0200 Subject: [PATCH] Allow to start a new pull after a failed one Signed-off-by: Sven Strickroth --- src/TortoiseProc/AppUtils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TortoiseProc/AppUtils.cpp b/src/TortoiseProc/AppUtils.cpp index 6df4ba861..6e256f1c8 100644 --- a/src/TortoiseProc/AppUtils.cpp +++ b/src/TortoiseProc/AppUtils.cpp @@ -2225,7 +2225,10 @@ bool CAppUtils::Pull(bool showPush) progress.m_PostCmdCallback = [&](DWORD status, PostCmdList& postCmdList) { if (status) + { + postCmdList.push_back(PostCmd(IDI_PULL, IDS_MENUPULL, [&]{ Pull(); })); return; + } CGitHash hashNew; if (g_Git.GetHash(hashNew, _T("HEAD"))) -- 2.11.4.GIT