]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/refs-string-slice'
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2012 20:09:02 +0000 (13:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2012 20:09:02 +0000 (13:09 -0700)
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

1  2 
refs.c

diff --cc refs.c
Simple merge