MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / gitLog

Method gitLog

src/plugins/git/client/gitclient.cpp:121–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void GitClientPrivate::gitLog(const QString &workspace, const QString &filePath, bool isProject)
122{
123 auto cmd = readyWork(GitLog, workspace, filePath);
124 QStringList arguments = { "log", DecorateOption,
125 "-n", QString::number(LogMaxCount),
126 "--patience", "--ignore-space-change",
127 ColorOption, normalLogArguments() };
128
129 if (!isProject)
130 arguments << "--follow"
131 << "--"
132 << filePath;
133
134 cmd->addJob(GitBinaryPath, arguments);
135 cmd->start();
136}
137
138void GitClientPrivate::blameFile(const QString &workspace, const QString &filePath)
139{

Callers 1

actionHandlerMethod · 0.80

Calls 3

numberClass · 0.85
addJobMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected