MCPcopy Create free account
hub / github.com/TortoiseGit/TortoiseGit / AddMessageFileParam

Method AddMessageFileParam

src/Utils/Hooks.cpp:307–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307CTGitPath CHooks::AddMessageFileParam(CString& sCmd, const CString& message)
308{
309 CTGitPath tempPath;
310 tempPath = CTempFiles::Instance().GetTempFilePath(true);
311 CStringUtils::WriteStringToTextFile(tempPath.GetWinPath(), message);
312 AddParam(sCmd, tempPath.GetWinPathString());
313 return tempPath;
314}
315
316bool CHooks::StartCommit(HWND hWnd, const CString& workingTree, const CTGitPathList& pathList, CString& message, DWORD& exitcode, CString& error)
317{

Callers

nothing calls this directly

Calls 2

GetWinPathMethod · 0.80
GetTempFilePathMethod · 0.45

Tested by

no test coverage detected