diff options
author | David Aguilar <davvid@gmail.com> | 2016-07-18 20:57:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-28 14:01:55 -0700 |
commit | 32b8c581ecf35e73bebe2c6e9f6de617807b7f91 (patch) | |
tree | b181ebed7a3acdc6b0103ea46338b2c8fbe3f662 /sha1-array.h | |
parent | difftool: avoid $GIT_DIR and $GIT_WORK_TREE (diff) | |
download | tgif-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 'sha1-array.h')
0 files changed, 0 insertions, 0 deletions