summaryrefslogtreecommitdiff
path: root/t/Git-SVN/Utils/fatal.t
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-04-06 18:47:46 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-06 14:23:47 -0700
commita039a1fcf987de3a8209cc5229324d37d9ead16e (patch)
tree5c07e7e45cfeaf0bc579d649968ab0d56d3723ea /t/Git-SVN/Utils/fatal.t
parentGit 2.31.1 (diff)
downloadtgif-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/fatal.t')
0 files changed, 0 insertions, 0 deletions