diff options
author | tv <tv@krebsco.de> | 2015-09-28 01:02:37 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-09-28 01:02:37 +0200 |
commit | a9919f84efb1c888a723ebbc7e23d35cd4c6fe0c (patch) | |
tree | 3d7c7e29c9d4d228de42a97c22b49707d1c0f14c /tv/4lib/git.nix | |
parent | db1cd6d2e13a39cd0828a0a0fd7cff832f268abf (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 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 ' |