diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-30 16:49:11 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-08 12:13:12 -0700 |
commit | 1f27e7d56b65fdc232a5a2a4de2ee97ff5eb176b (patch) | |
tree | 01ad40cd6ed0dbb41bdcbcfe0eacb182ffa1b9ff /Documentation/technical/.gitignore | |
parent | Add new @ shortcut for HEAD (diff) | |
download | tgif-1f27e7d56b65fdc232a5a2a4de2ee97ff5eb176b.tar.xz |
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>
Diffstat (limited to 'Documentation/technical/.gitignore')
0 files changed, 0 insertions, 0 deletions