summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tv/4lib/git.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/tv/4lib/git.nix b/tv/4lib/git.nix
index fe64017..6f36543 100644
--- a/tv/4lib/git.nix
+++ b/tv/4lib/git.nix
@@ -178,10 +178,7 @@ let
$id2..$id
git diff --stat $id2..$id \
- | sed '
- $!s/+/'$(green '&')'/g
- $!s/-/'$(red '&')'/g
- '
+ | sed '$!s/\(+*\)\(-*\)$/'$(green '\1')$(red '\2')'/'
)
done