Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information