diff options
author | tv <tv@shackspace.de> | 2015-09-28 01:02:37 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-09-28 01:02:37 +0200 |
commit | c88a7d3be5d9a8ee748cb8bdfac97de3277e0d5e (patch) | |
tree | f694e042873fc0675a3a03979f48c4e65e665819 /tv/4lib/git.nix | |
parent | 22b430f1b4826c02c7d460dbabb3f2b77d286d2e (diff) |
irc-announce: reverse git log
Diffstat (limited to 'tv/4lib/git.nix')
-rw-r--r-- | tv/4lib/git.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/4lib/git.nix b/tv/4lib/git.nix index 7dbcf72b2..fe6401728 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 ' |