From 31a70581f1f3634f0bfa6379e50778a72f824f82 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 25 Jan 2014 15:42:04 +0100 Subject: [PATCH] Fix propagating Git.exe error message to user on reverting commit Signed-off-by: Sven Strickroth --- src/Git/Git.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Git/Git.cpp b/src/Git/Git.cpp index bd339ef49..fc92cba84 100644 --- a/src/Git/Git.cpp +++ b/src/Git/Git.cpp @@ -2622,7 +2622,7 @@ int CGit::GitRevert(int parent, const CGitHash &hash) } else { - CString cmd, merge, gitLastErr; + CString cmd, merge; if (parent) merge.Format(_T("-m %d "), parent); cmd.Format(_T("git.exe revert --no-edit --no-commit %s%s"), merge, hash.ToString()); -- 2.11.4.GIT