Browse Source
We know that the string pointed at by remote->name won't change. It can be borrowed as the key in the string_list without copying. Other parts of existing code such as get_one_entry() already rely on this fact. Noticed by Cheng Renquan. Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Junio C Hamano
16 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue