summaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2016-07-19 03:57:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-28 21:01:55 (GMT)
commit32b8c581ecf35e73bebe2c6e9f6de617807b7f91 (patch)
treeb181ebed7a3acdc6b0103ea46338b2c8fbe3f662 /builtin/pack-objects.c
parent98f917ed421a477e0575c58f801ac25f0e261b9d (diff)
downloadgit-32b8c581ecf35e73bebe2c6e9f6de617807b7f91.zip
git-32b8c581ecf35e73bebe2c6e9f6de617807b7f91.tar.gz
git-32b8c581ecf35e73bebe2c6e9f6de617807b7f91.tar.bz2
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 'builtin/pack-objects.c')
0 files changed, 0 insertions, 0 deletions