Merge branch 'rs/refs-string-slice'
commita7060009e1272aa43c8fb941f039cff9e9a0459b
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2012 20:09:02 +0000 (29 13:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2012 20:09:02 +0000 (29 13:09 -0700)
tree848907f41699e67d35dbdfd6c16fab2f59e3a817
parent4dbfaee0c797d8593a8ca4cfa96a641f9ee85e3f
parente1980c9d23c22ecfbcadbe91d304ba778b84b457
Merge branch 'rs/refs-string-slice'

Avoid unnecessary temporary allocations while looking for matching refs
inside refs API.

By RenĂ© Scharfe (3) and Junio C Hamano (1)
* rs/refs-string-slice:
  refs: do not create ref_entry when searching
  refs: use strings directly in find_containing_dir()
  refs: convert parameter of create_dir_entry() to length-limited string
  refs: convert parameter of search_ref_dir() to length-limited string
refs.c