t / t4101 / diff.1-0on commit validate_headref: tighten ref-matching to just branches (b229d18)
   1--- a/frotz
   2+++ b/frotz
   3@@ -1,3 +1,2 @@
   4 a
   5 b
   6-c