summaryrefslogtreecommitdiffstats
path: root/t/t0021
diff options
context:
space:
mode:
authorbrian m. carlson <bk2204@github.com>2020-03-16 19:05:04 +0100
committerJunio C Hamano <gitster@pobox.com>2020-03-16 19:37:02 +0100
commit13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b (patch)
treed2c5b1215ca578250aa88dbbeee45310ceb2e3d0 /t/t0021
parentconvert: provide additional metadata to filters (diff)
downloadgit-13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b.tar.xz
git-13e7ed6a3a0ecd5d50b7bba2d86ce9d88494fa9b.zip
builtin/checkout: compute checkout metadata for checkouts
Provide commit metadata for checkout code paths that use unpack_trees and friends. When we're checking out a commit, use the commit information, but don't provide commit information if we're checking out from the index, since there need not be any particular commit associated with the index, and even if there is one, we can't know what it is. Signed-off-by: brian m. carlson <bk2204@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0021')
-rw-r--r--t/t0021/rot13-filter.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0021/rot13-filter.pl b/t/t0021/rot13-filter.pl
index c43cf433cf..cd32a82da5 100644
--- a/t/t0021/rot13-filter.pl
+++ b/t/t0021/rot13-filter.pl
@@ -136,7 +136,7 @@ while (1) {
$DELAY{$pathname}{"requested"} = 1;
}
} elsif ($buffer =~ /^(ref|treeish|blob)=/) {
- # Do nothing.
+ print $debug " $buffer";
} else {
# In general, filters need to be graceful about
# new metadata, since it's documented that we