mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-24 11:23:12 -04:00
git-notify: Fix the ordering of commits
If notifications for multiple commits are created, sort them chronologically instead of in reverse chronological order.
This commit is contained in:
parent
25d1ee331d
commit
ee06edc646
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ sub git_rev_list(@)
|
|||
die "Cannot open pipe: $!" if not defined $pid;
|
||||
if (!$pid)
|
||||
{
|
||||
exec "git", "rev-list", @revlist_options, @args or die "Cannot execute rev-list: $!";
|
||||
exec "git", "rev-list", "--reverse", @revlist_options, @args or die "Cannot execute rev-list: $!";
|
||||
}
|
||||
while (<REVLIST>)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue