From: Holger Weiss Date: Wed, 14 Apr 2010 14:22:21 +0000 (+0200) Subject: git-notify: Fix the ordering of commits X-Git-Url: https://git.tokkee.org/?p=nagiosplug.git;a=commitdiff_plain;h=ee06edc646129bd1ab7f2c1ffe1fbfdf2e8290bf git-notify: Fix the ordering of commits If notifications for multiple commits are created, sort them chronologically instead of in reverse chronological order. --- diff --git a/tools/git-notify b/tools/git-notify index 17093aa..088a580 100755 --- a/tools/git-notify +++ b/tools/git-notify @@ -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 () {