mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 16:00:57 +01:00
modules/webhook: Reverse push list order.
This commit is contained in:
parent
d7c68d2fb7
commit
d60a7622e1
1 changed files with 2 additions and 1 deletions
|
@ -294,8 +294,9 @@ github_handle__push(std::ostream &out,
|
|||
out << " (rebase)";
|
||||
|
||||
out << "<pre>";
|
||||
for(const json::object &commit : commits)
|
||||
for(ssize_t i(count - 1); i >= 0; --i)
|
||||
{
|
||||
const json::object &commit(commits.at(i));
|
||||
const auto url(unquote(commit["url"]));
|
||||
const auto id(unquote(commit["id"]));
|
||||
const auto sid(id.substr(0, 8));
|
||||
|
|
Loading…
Reference in a new issue