summaryrefslogtreecommitdiff
path: root/mailmap.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-05-25 11:08:06 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-28 09:25:01 -0700
commit5b1e14eab3109c1d33e27b00ee18f8f9f60e779c (patch)
tree1163f874d9d52c02fe00840804035f465572252b /mailmap.c
parentcmd_diff(): rename local variable "list" -> "entry" (diff)
downloadtgif-5b1e14eab3109c1d33e27b00ee18f8f9f60e779c.tar.xz
cmd_diff(): make it obvious which cases are exclusive of each other
At first glance the OBJ_COMMIT, OBJ_TREE, and OBJ_BLOB cases look like they might be mutually exclusive. But the OBJ_COMMIT case doesn't end the loop iteration with "continue" like the other two cases, but rather falls through. So use if...else if...else construct to make it more obvious that only the last two cases are mutually exclusive. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.c')
0 files changed, 0 insertions, 0 deletions