From e0d8bd94f852576541d128921b7bd35fba1a4034 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Tue, 26 Dec 2017 23:04:20 +0800 Subject: [PATCH] SetGitNote -> SetGitNotes Signed-off-by: Sup Yut Sum --- src/Git/Git.cpp | 2 +- src/Git/Git.h | 2 +- src/TortoiseProc/AppUtils.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Git/Git.cpp b/src/Git/Git.cpp index d7211f025..574ba27dc 100644 --- a/src/Git/Git.cpp +++ b/src/Git/Git.cpp @@ -3483,7 +3483,7 @@ int CGit::GetGitNotes(const CGitHash& hash, CString& notes) return 0; } -int CGit::SetGitNote(const CGitHash& hash, const CString& notes) +int CGit::SetGitNotes(const CGitHash& hash, const CString& notes) { CAutoRepository repo(GetGitRepository()); if (!repo) diff --git a/src/Git/Git.h b/src/Git/Git.h index 5e1a6e5bc..edef63da5 100644 --- a/src/Git/Git.h +++ b/src/Git/Git.h @@ -485,7 +485,7 @@ public: static bool LoadTextFile(const CString &filename, CString &msg); int GetGitNotes(const CGitHash& hash, CString& notes); - int SetGitNote(const CGitHash& hash, const CString& notes); + int SetGitNotes(const CGitHash& hash, const CString& notes); int GetUnifiedDiff(const CTGitPath& path, const CString& rev1, const CString& rev2, CString patchfile, bool bMerge, bool bCombine, int diffContext, bool bNoPrefix = false); int GetUnifiedDiff(const CTGitPath& path, const CString& rev1, const CString& rev2, CStringA* buffer, bool bMerge, bool bCombine, int diffContext); diff --git a/src/TortoiseProc/AppUtils.cpp b/src/TortoiseProc/AppUtils.cpp index 8f4abe381..cdaa8d9ec 100644 --- a/src/TortoiseProc/AppUtils.cpp +++ b/src/TortoiseProc/AppUtils.cpp @@ -3248,7 +3248,7 @@ void CAppUtils::EditNote(GitRevLoglist* rev, ProjectProperties* projectPropertie dlg.m_bUseLogWidth = true; if(dlg.DoModal() == IDOK) { - if (g_Git.SetGitNote(rev->m_CommitHash, dlg.m_sInputText)) + if (g_Git.SetGitNotes(rev->m_CommitHash, dlg.m_sInputText)) { CString err; err.LoadString(IDS_PROC_FAILEDSAVINGNOTES); -- 2.11.4.GIT