We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf5db3f commit 2098df1Copy full SHA for 2098df1
diff-since.sh
@@ -1,3 +1,3 @@
1
#!/usr/bin/env bash
2
git diff --stat "$1" HEAD | tail -n 1
3
-echo diff: $(($(git diff --stat "$1" HEAD | tail -n 1 | rg "([0-9]+) insertions.*? ([0-9]+) deletions" --replace "\$1 - \$2" -o)))
+echo diff: $(($(git diff --stat "$1" HEAD | tail -n 1 | rg " ([0-9]+) insertions.*? ([0-9]+) deletions" --replace "\$1 - \$2" -o)))
0 commit comments