diff options
Diffstat (limited to 'tv/4lib/git.nix')
-rw-r--r-- | tv/4lib/git.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tv/4lib/git.nix b/tv/4lib/git.nix index 2b25debdc..1d025f3cc 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 |