t / t4101 / diff.2-1on commit for-each-ref: Do not lookup objects when they will not be used (b7dd2d2)
   1--- a/frotz
   2+++ b/frotz
   3@@ -1,2 +1,3 @@
   4 a
   5-b
   6\ No newline at end of file
   7+b
   8+c