diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-04-06 18:47:46 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-06 14:23:47 -0700 |
commit | a039a1fcf987de3a8209cc5229324d37d9ead16e (patch) | |
tree | 5c07e7e45cfeaf0bc579d649968ab0d56d3723ea /t/Git-SVN/Utils/collapse_dotdot.t | |
parent | Git 2.31.1 (diff) | |
download | tgif-a039a1fcf987de3a8209cc5229324d37d9ead16e.tar.xz |
maintenance: simplify prefetch logic
The previous logic filled a string list with the names of each remote,
but instead we could simply run the appropriate 'git fetch' data
directly in the remote iterator. Do this for reduced code size, but also
because it sets up an upcoming change to use the remote's refspec. This
data is accessible from the 'struct remote' data that is now accessible
in fetch_remote().
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/Git-SVN/Utils/collapse_dotdot.t')
0 files changed, 0 insertions, 0 deletions