Skip to content

Commit

Permalink
Use QSTR to improve string handling in parseCommit
Browse files Browse the repository at this point in the history
  • Loading branch information
soramimi committed Feb 24, 2025
1 parent 7824ae5 commit 91c0a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Git.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ std::optional<Git::CommitItem> Git::parseCommit(QByteArray const &ba)
if (!out.author.isEmpty()) {
out.author += ' ';
}
out.author += arr[i];
out.author += QSTR(arr[i]);
}
}
} else if (Starts("commiter", &val)) {
Expand Down

0 comments on commit 91c0a1d

Please sign in to comment.