]> git.ipfire.org Git - thirdparty/git.git/commit
difftool: eliminate use of the_repository
authorDavid Aguilar <davvid@gmail.com>
Thu, 6 Feb 2025 04:20:09 +0000 (20:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Feb 2025 21:00:21 +0000 (13:00 -0800)
commita24953f3df4546cad670892c652978cce161ec79
treea29e4b36367c972e30aa46aad31cf3773cb51878
parent8241ae63d821efc7906d13654cb63523dc4f0a3a
difftool: eliminate use of the_repository

Make callers pass a repository struct into each function instead
of relying on the global the_repository variable.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/difftool.c