about summary refs log tree commit diff
path: root/third_party/git/t/t0021
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t0021')
-rw-r--r--third_party/git/t/t0021/rot13-filter.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/git/t/t0021/rot13-filter.pl b/third_party/git/t/t0021/rot13-filter.pl
index 470107248eb1..cd32a82da5c3 100644
--- a/third_party/git/t/t0021/rot13-filter.pl
+++ b/third_party/git/t/t0021/rot13-filter.pl
@@ -135,7 +135,13 @@ while (1) {
 				if ( exists $DELAY{$pathname} and $DELAY{$pathname}{"requested"} == 0 ) {
 					$DELAY{$pathname}{"requested"} = 1;
 				}
+			} elsif ($buffer =~ /^(ref|treeish|blob)=/) {
+				print $debug " $buffer";
 			} else {
+				# In general, filters need to be graceful about
+				# new metadata, since it's documented that we
+				# can pass any key-value pairs, but for tests,
+				# let's be a little stricter.
 				die "Unknown message '$buffer'";
 			}