author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 18 Oct 2008 08:44:18 +0000 (10:44 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 18 Oct 2008 13:53:47 +0000 (06:53 -0700) | ||
commit | 59c69c0c656ebce2f7ce870b4913512597a98390 | |
tree | f2bcd14377a483929861a09cf929286da0f1700a | tree | snapshot |
parent | b0b44bc7b26c8c4b4221a377ce6ba174b843cb8d | commit | diff |
make alloc_ref_from_str() the new alloc_ref()
With all calls to alloc_ref() gone, we can remove it and then we're free
to give alloc_ref_from_str() the shorter name. It's a much nicer
interface, as the callers always need to have a name string when they
allocate a ref anyway and don't need to calculate and pass its length+1
any more.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
With all calls to alloc_ref() gone, we can remove it and then we're free
to give alloc_ref_from_str() the shorter name. It's a much nicer
interface, as the callers always need to have a name string when they
allocate a ref anyway and don't need to calculate and pass its length+1
any more.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c | diff | blob | history | |
connect.c | diff | blob | history | |
http-push.c | diff | blob | history | |
remote.c | diff | blob | history | |
remote.h | diff | blob | history | |
transport.c | diff | blob | history | |
walker.c | diff | blob | history |