mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-04 08:40:19 -05: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>
8.2 KiB
8.2 KiB