t / t5100 / patch0017on commit for-each-ref: do not segv with %(HEAD) on an unborn branch (84679d4)
   1diff --git a/foo b/foo
   2index e69de29..d95f3ad 100644
   3--- a/foo
   4+++ b/foo
   5@@ -0,0 +1 @@
   6+New content