filtering on git fetch?
- From
Noel Grandin <noelgrandin@gmail.com>
- Date
- Jun 17, 2020, 07:41 UTC
- Message-ID
- <f6c1377f-6945-b04f-07cf-887c4b7c9f76@gmail.com>
Hi
Setup
(*) I'm fetching across a transatlantic link (RTT in the 300ms range on a good day) (*) I'm fetching from a gerrit server
$ GIT_PACKET_TRACE=true git fetch
shows tons and tons of
09:39:43.355675 pkt-line.c:80 packet: fetch< 3a7ad7ee5d7daa0c93a80fbb32a677597d81ac75 refs/changes/00/9000/3 09:39:43.355684 pkt-line.c:80 packet: fetch< 6cacf1db5311f6b250ebaa12c71419a8ff9b747e refs/changes/00/9000/meta 09:39:43.355693 pkt-line.c:80 packet: fetch< 849a43434a5ede9ce9b70da14231f34edb2593fb refs/changes/00/90100/1
type stuff before it starts fetching the updates to master that I am interested in.
Is there any way to tell the remote git server that I'm only interested in a subset of stuff?
Thanks, Noel Grandin