summaryrefslogtreecommitdiffstats
path: root/tv/4lib/git.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-09-28 01:02:37 +0200
committertv <tv@krebsco.de>2015-09-28 01:02:37 +0200
commita9919f84efb1c888a723ebbc7e23d35cd4c6fe0c (patch)
tree3d7c7e29c9d4d228de42a97c22b49707d1c0f14c /tv/4lib/git.nix
parentdb1cd6d2e13a39cd0828a0a0fd7cff832f268abf (diff)
irc-announce: reverse git log
Diffstat (limited to 'tv/4lib/git.nix')
-rw-r--r--tv/4lib/git.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/4lib/git.nix b/tv/4lib/git.nix
index 7dbcf72..fe64017 100644
--- a/tv/4lib/git.nix
+++ b/tv/4lib/git.nix
@@ -172,7 +172,10 @@ let
orange() { printf '\x0307,99%s\x0F' "$1"; }
gray() { printf '\x0314,99%s\x0F' "$1"; }
- git log --format="$(orange %h) %s $(gray '(%ar)')" $id2..$id
+ git log \
+ --format="$(orange %h) %s $(gray '(%ar)')" \
+ --reverse \
+ $id2..$id
git diff --stat $id2..$id \
| sed '