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

Method getLastCommit

3rdparty/unioncode-GitQlient/src/git/GitBase.cpp:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83GitExecResult GitBase::getLastCommit() const
84{
85 QLog_Trace("Git", "Getting last commit");
86
87 const auto cmd = QString("git rev-parse HEAD");
88
89 QLog_Trace("Git", QString("Getting last commit: {%1}").arg(cmd));
90
91 const auto ret = run(cmd);
92
93 return ret;
94}

Callers 11

cherryPickCommitMethod · 0.80
processReferencesMethod · 0.80
acceptMethod · 0.80
commitChangesMethod · 0.80
commitChangesMethod · 0.80
cherryPickCommitMethod · 0.80
resetSoftMethod · 0.80
resetMixedMethod · 0.80
resetHardMethod · 0.80
paintTagBranchMethod · 0.80

Calls 1

QStringClass · 0.50

Tested by

no test coverage detected