Merge branch 'jk/faster-name-conflicts'
commit9bc4222746a09d57998903dab0361b1d7adc271f
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Sep 2014 21:39:43 +0000 (26 14:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Sep 2014 21:39:43 +0000 (26 14:39 -0700)
tree5f20a43b111398ee507568e92296697e03a1392e
parent69a5bbbbfa2c659e819228c5e3cd5caa1d7f9a0b
parentcbe73331812ed0ac3c3b680ab3aab4e6d22a98ad
Merge branch 'jk/faster-name-conflicts'

Optimize the check to see if a ref $F can be created by making sure
no existing ref has $F/ as its prefix, which especially matters in
a repository with a large number of existing refs.

* jk/faster-name-conflicts:
  refs: speed up is_refname_available
refs.c
t/t3210-pack-refs.sh