mirror of
https://github.com/git/git.git
synced 2026-01-12 02:56:31 +00:00
Avoid scanning strings twice, once with strchr() and then with strlen(), by using strchrnul(). Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Rohit Mani <rohit.mani@outlook.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9.6 KiB
9.6 KiB