mergetool: respect autocrlf by using checkout-index
authorCharles Bailey <charles@hashpling.org>
Wed, 21 Jan 2009 22:57:48 +0000 (22:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Jan 2009 09:13:19 +0000 (01:13 -0800)
Previously, git mergetool used cat-file which does not perform git to
worktree conversion. This changes mergetool to use git checkout-index
instead which means that the temporary files used for mergetool use the
correct line endings for the platform.

Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found