Skip to content

Commit 6967fad

Browse files
committed
t9390: avoid using colrm
While it is true that `colrm` is available on macOS by default, and even in Ubuntu (thanks to the `bsdmainutils` package), it is not available on Windows. Let's use `cut` instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e6ffede commit 6967fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9390-filter-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ test_expect_success 'tweaking just a tag' '
16751675

16761676
test_expect_success '--version' '
16771677
git filter-repo --version >actual &&
1678-
git hash-object ../../git-filter-repo | colrm 13 >expect &&
1678+
git hash-object ../../git-filter-repo | cut -c 1-12 >expect &&
16791679
test_cmp expect actual
16801680
'
16811681

0 commit comments

Comments
 (0)