Use DIFF_DETECT_RENAME for detect_rename assignments
commit06dba2b0235293e84157a59fa22dc89baa336166
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 27 Dec 2017 10:18:35 +0000 (27 17:18 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Dec 2017 20:38:35 +0000 (27 12:38 -0800)
tree05d6f234f4b54b19435c021a279155dd68e1f5e6
parent6de5aafdd12104df3d10ef54ac74723a41174290
Use DIFF_DETECT_RENAME for detect_rename assignments

This field can have two values (2 for copy). Use this name instead for
clarity. Many places have already used this constant.

Note, the detect_rename assignments in merge-recursive.c remain
unchanged because it's actually a boolean there.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
diff.c
wt-status.c