Merge branch 'ds/maintenance-prefetch-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 30 Apr 2021 04:50:25 +0000 (13:50 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Apr 2021 04:50:25 +0000 (13:50 +0900)
commitd250f903596ee149dffcd65e3794dbd00b62f97e
tree17c224b8d01073c69ce66728f64f2e5a61d98e17
parenta819e2b3ef7c27d04befa0a345c9e6e3c7a7965e
parent32f67888d85bd0af30b857a29ca25a55999b6d01
Merge branch 'ds/maintenance-prefetch-fix'

The prefetch task in "git maintenance" assumed that "git fetch"
from any remote would fetch all its local branches, which would
fetch too much if the user is interested in only a subset of
branches there.

* ds/maintenance-prefetch-fix:
  maintenance: respect remote.*.skipFetchAll
  maintenance: use 'git fetch --prefetch'
  fetch: add --prefetch option
  maintenance: simplify prefetch logic