Re: [RFC] fetch: support hideRefs to speed up connectivity checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Tan <jonathantanmy@xxxxxxxxxx> wrote:
> Eric Wong <e@xxxxxxxxx> writes:
> >    git -c transfer.hideRefs=refs \
> > 	-c transfer.hideRefs='!refs/remotes/$REMOTE/' \
> > 	fetch $REMOTE
> > 
> > I initially considered passing --negotiation-tip OIDs, but this seems
> > like an easier solution as I'm not yet familiar with this code
> > and prefer to avoid writing too much C.
> 
> --negotiation-tip supports ref name globs too. Would that be sufficient
> for your purposes?

Yes, I tried using globs but didn't want to figure out how to
pass the resulting OIDs to rev-list.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux