apply: fix an incomplete comment in check_patch()
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 May 2012 22:31:18 +0000 (15:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 21:36:26 +0000 (14:36 -0700)
commit15793646acba291dc2709cb82d3f72cd5be8c6c0
tree44bf9b92569ad1bb265063d93d19be1d771b3213
parenta3935e6791c619a9f2f472e9e553d45d88c4e263
apply: fix an incomplete comment in check_patch()

This check is not only about type-change (for which it would be
sufficient to check only was_deleted()) but is also about a swap
rename.  Otherwise to_be_deleted() check is not justified.

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