alloc_ref_from_str(): factor out a common pattern of alloc_ref from string
commit737922aa648c43bc6a61170bee5bfd46ff953f32
authorKrzysztof Kowalczyk <kkowalczyk@gmail.com>
Sat, 10 May 2008 23:26:58 +0000 (10 16:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 May 2008 16:04:37 +0000 (11 09:04 -0700)
treeebcdb2c587f0a5b781f0613a711f5501d6b89860
parent1f8115b113def8ee03701aa87b26c5e8b7c94434
alloc_ref_from_str(): factor out a common pattern of alloc_ref from string

Also fix an underallocation in walker.c::interpret_target().

Signed-off-by: Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c
http-push.c
remote.c
remote.h
transport.c
walker.c