summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-04-30 16:49:11 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-08 12:13:12 -0700
commit1f27e7d56b65fdc232a5a2a4de2ee97ff5eb176b (patch)
tree01ad40cd6ed0dbb41bdcbcfe0eacb182ffa1b9ff /sha1_file.c
parentAdd new @ shortcut for HEAD (diff)
downloadtgif-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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions