Skip to content

Commit 1c9cdbb

Browse files
derrickstoleegitster
authored andcommitted
sparse-checkout: remove use of the_repository
The logic for the 'git sparse-checkout' builtin uses the_repository all over the place, despite some use of a repository struct in different method parameters. Complete this removal of the_repository by using 'repo' when possible. In one place, there was already a local variable 'r' that was set to the_repository, so move that to a method parameter. We cannot remove the USE_THE_REPOSITORY_VARIABLE declaration as we are still using global constants for the state of the sparse-checkout. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 83361d0 commit 1c9cdbb

File tree

1 file changed

+64
-57
lines changed

1 file changed

+64
-57
lines changed

0 commit comments

Comments
 (0)