sha1_name: compare variable with constant, not constant with variable
And restructure the if/else to factor out the common "is len positive?" test into a single conditional. Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录