From d62ea58af80fea60f8f76090c4c383fbf642a686 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Wed, 18 Jun 2014 19:38:44 +0800 Subject: [PATCH] Fix broken build Signed-off-by: Sup Yut Sum --- src/Utils/Hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Hooks.cpp b/src/Utils/Hooks.cpp index 1bcd5dc88..dd716ed21 100644 --- a/src/Utils/Hooks.cpp +++ b/src/Utils/Hooks.cpp @@ -246,7 +246,7 @@ bool CHooks::StartCommit(const CString& workingTree, const CTGitPathList& pathLi return true; } -bool CHooks::PreCommit(const CString& workingTree, const CTGitPathList& pathList, CString& message, DWORD& exitcode, CString& error) +bool CHooks::PreCommit(const CString& workingTree, const CTGitPathList& pathList, const CString& message, DWORD& exitcode, CString& error) { auto it = FindItem(pre_commit_hook, workingTree); if (it == end()) -- 2.11.4.GIT