about summary refs log tree commit diff
path: root/third_party/git/t/t8011-blame-split-file.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t8011-blame-split-file.sh')
-rwxr-xr-xthird_party/git/t/t8011-blame-split-file.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/git/t/t8011-blame-split-file.sh b/third_party/git/t/t8011-blame-split-file.sh
index 831125047b93..bdda0c03fe9e 100755
--- a/third_party/git/t/t8011-blame-split-file.sh
+++ b/third_party/git/t/t8011-blame-split-file.sh
@@ -54,7 +54,7 @@ test_expect_success 'setup simulated porcelain' '
 	cat >read-porcelain.pl <<-\EOF
 	my $field = shift;
 	while (<>) {
-		if (/^[0-9a-f]{40} /) {
+		if (/^[0-9a-f]{40,} /) {
 			flush();
 			$hash = $&;
 		} elsif (/^$field (.*)/) {