summaryrefslogtreecommitdiffstats
path: root/tv/4lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-09-28 00:02:45 +0200
committertv <tv@krebsco.de>2015-09-28 00:24:57 +0200
commitb739130ed59adda77298a5212a0c41569fbbb59a (patch)
treefb0de77064080b124fe662300615cdfc4681c2b5 /tv/4lib
parente96d25e029ef645c33d31d559dec3e832bfd31f0 (diff)
irc-announce: show more stuff
Diffstat (limited to 'tv/4lib')
-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 2b25deb..1d025f3 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