]> git.ipfire.org Git - thirdparty/git.git/commit - xdiff/xmerge.c
xmerge.c: minimum readability fixups
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2008 15:16:30 +0000 (08:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 31 Aug 2008 02:41:43 +0000 (19:41 -0700)
commit838338cd22c1df53c1460d9239780371a234b242
tree09e9ce2e167f0c89cd77bd6ba86533fd5f18f66f
parente0af48e49682ea3345f932f6b9e7fa7c5e5e611a
xmerge.c: minimum readability fixups

This replaces hardcoded magic constants with symbolic ones for
readability, and swaps one if/else blocks to better match the
order in which 0/1/2 variables are handled to nearby codepath.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xmerge.c