xdiff/xprepare: use the XDF_DIFF_ALG() macro to access flag bits
commit5cd6978a9cfef58de061a9525f3678ade479564d
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Fri, 4 Mar 2016 23:09:36 +0000 (4 23:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Mar 2016 23:51:06 +0000 (4 15:51 -0800)
treeb2a67a991303f9b87cacf2c7bf9b0d142a4e9f52
parenta2558fb8e1e387b630312311e1d22c95663da5d0
xdiff/xprepare: use the XDF_DIFF_ALG() macro to access flag bits

Commit 307ab20b3 ("xdiff: PATIENCE/HISTOGRAM are not independent option
bits", 19-02-2012) introduced the XDF_DIFF_ALG() macro to access the
flag bits used to represent the diff algorithm requested. In addition,
code which had used explicit manipulation of the flag bits was changed
to use the macros.

However, one example of direct manipulation remains. Update this code to
use the XDF_DIFF_ALG() macro.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c