From: David Aguilar Date: Tue, 19 Jul 2016 03:57:56 +0000 (-0700) Subject: difftool: use Git::* functions instead of passing around state X-Git-Tag: v2.9.3~1^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/32b8c581ecf35e73bebe2c6e9f6de617807b7f91?ds=inline;hp=32b8c581ecf35e73bebe2c6e9f6de617807b7f91 difftool: use Git::* functions instead of passing around state Call Git::command() and friends directly wherever possible. This makes it clear that these operations can be invoked directly without needing to manage the current directory and related GIT_* environment variables. Eliminate find_repository() since we can now use wc_path() and not worry about side-effects involving environment variables. Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano ---