Merge branch 'kn/ref-filter-branch-list'
commit8d3abeada9e1be49be75115f49f2af76506c0746
authorJunio C Hamano <gitster@pobox.com>
Mon, 29 May 2017 03:34:50 +0000 (29 12:34 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 May 2017 03:34:51 +0000 (29 12:34 +0900)
tree72e6bd04e4277e3cbda4e565e5ea4fbf3e604be4
parentee7daf6c1eeaf5640fd7029779b1b49f8903cd50
parent613a0e52ea11c4496e3e154de192486a18eac2e4
Merge branch 'kn/ref-filter-branch-list'

"git for-each-ref --format=..." with %(HEAD) in the format used to
resolve the HEAD symref as many times as it had processed refs,
which was wasteful, and "git branch" shared the same problem.

* kn/ref-filter-branch-list:
  ref-filter: resolve HEAD when parsing %(HEAD) atom
ref-filter.c