summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorLibravatar David Aguilar <davvid@gmail.com>2016-07-18 20:57:56 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-28 14:01:55 -0700
commit32b8c581ecf35e73bebe2c6e9f6de617807b7f91 (patch)
treeb181ebed7a3acdc6b0103ea46338b2c8fbe3f662 /git-compat-util.h
parentdifftool: avoid $GIT_DIR and $GIT_WORK_TREE (diff)
downloadtgif-32b8c581ecf35e73bebe2c6e9f6de617807b7f91.tar.xz
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 <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions