Ticket #1040 (new enhancement)

Opened 8 years ago

Last modified 8 years ago

git sync fetches all branches, which is usually or always unnecessary

Reported by: greenrd Owned by:
Priority: IfSomeoneSendsAPatch Milestone:
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description

My repository conf looks like this:

location = ${ROOT}/var/db/paludis/repositories/texlive
sync = git://git.exherbo.org/texlive.git local: git+file:///home/greenrd/git/exherbo/texlive
sync_options = local: --branch=master
format = 'e'

Even with the sync_options set to specify a specific branch, all branches are fetched, which is a waste. I can't figure out a way to configure it to stop it doing this.

Change History

comment:1 Changed 8 years ago by ciaranm

  • Priority changed from Sometime to IfSomeoneSendsAPatch
  • Type changed from defect to enhancement

Please provide a patch for paludis/syncers/dogit.in if you can figure one out that works for all combinations of fetch modes, and that doesn't go splat when changing branches or when branches vanish.

Note: See TracTickets for help on using tickets.