Skip to content

Commit 2098df1

Browse files
committed
consider a space in the diff-since.sh script
1 parent bf5db3f commit 2098df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-since.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22
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)))
3+
echo diff: $(($(git diff --stat "$1" HEAD | tail -n 1 | rg " ([0-9]+) insertions.*? ([0-9]+) deletions" --replace "\$1 - \$2" -o)))

0 commit comments

Comments
 (0)