forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/10.0'
Change-Id: I8a53e2e8216fab7e45c3a1b8a3d2dc6656dfa7e2
This commit is contained in:
@@ -1502,7 +1502,8 @@ CommitInfo parseBlameOutput(const QStringList &blame, const Utils::FilePath &fil
|
||||
const Git::Internal::Author &author)
|
||||
{
|
||||
CommitInfo result;
|
||||
QTC_ASSERT(blame.size() > 12, return result);
|
||||
if (blame.size() <= 12)
|
||||
return result;
|
||||
|
||||
result.sha1 = blame.at(0).left(40);
|
||||
result.author = blame.at(1).mid(7);
|
||||
|
||||
Reference in New Issue
Block a user