summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-09-28 00:02:45 +0200
committertv <tv@shackspace.de>2015-09-28 00:24:57 +0200
commit678f0a872cb7ed123529ff31bab0cf22666e242e (patch)
tree36fdf0e03009e0d025f0c5e784152fa019c0d878 /tv
parentab696f2f04d5ff511d295584802e8a64d1f4d318 (diff)
irc-announce: show more stuff
Diffstat (limited to 'tv')
-rw-r--r--tv/4lib/git.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/tv/4lib/git.nix b/tv/4lib/git.nix
index 2b25debd..1d025f3c 100644
--- a/tv/4lib/git.nix
+++ b/tv/4lib/git.nix
@@ -157,7 +157,6 @@ let
link="$cgit_endpoint/$GIT_SSH_REPO/ ($h)"
;;
fast-forward|non-fast-forward)
- #git diff --stat $id..$id2
link="$cgit_endpoint/$GIT_SSH_REPO/diff/?h=$h&id=$id&id2=$id2"
;;
esac
@@ -165,6 +164,13 @@ let
#$host $GIT_SSH_REPO $ref $link
message="''${message+$message
}$GIT_SSH_USER $receive_mode $link"
+
+ message=''${message+$message
+ }$(
+ git log --format='%h %ar: %s ' $id..$id2
+ git diff --stat $id..$id2
+ )
+
done
if test -n "''${message-}"; then