]> git.ipfire.org Git - thirdparty/git.git/commit
annotate: remove usage of the_repository global
authorJohn Cai <johncai86@gmail.com>
Thu, 10 Oct 2024 21:13:47 +0000 (21:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Oct 2024 16:37:18 +0000 (09:37 -0700)
commitebe8f4b6ecac3efe5d059163518f0594ad0317d0
treef862a3f4cbfa405d3fc8f8a6c16202862973527b
parent5db948d4136b2aa84b33815c939447ff0eabd76a
annotate: remove usage of the_repository global

As part of the effort to get rid of global state due to the_repository
variable, remove the the_repository with the repository argument that
gets passed down through the builtin function.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/annotate.c