From: brian m. carlson Date: Sat, 15 Mar 2014 18:56:52 +0000 (+0000) Subject: mv: prevent mismatched data when ignoring errors. X-Git-Tag: v1.9.2~11^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/fb8a4e8079ab8fc37e9cde32957c35637280ab8f?hp=fb8a4e8079ab8fc37e9cde32957c35637280ab8f mv: prevent mismatched data when ignoring errors. We shrink the source and destination arrays, but not the modes or submodule_gitfile arrays, resulting in potentially mismatched data. Shrink all the arrays at the same time to prevent this. Add tests to ensure the problem does not recur. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---