move index_has_changes() from builtin/am.c to merge.c for reuse
authorElijah Newren <newren@gmail.com>
Thu, 21 Dec 2017 19:19:06 +0000 (11:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Dec 2017 20:20:29 +0000 (12:20 -0800)
index_has_changes() is a function we want to reuse outside of just am,
making it also available for merge-recursive and merge-ort.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found