[PATCH] lfs: add an experimental config to masquerade as git for the blob transfer

Augie Fackler raf at durin42.com
Wed Dec 13 18:28:51 EST 2017


> On Dec 13, 2017, at 6:20 PM, Matt Harbison <mharbison72 at gmail.com> wrote:
> 
> 
> On Dec 13, 2017, at 9:48 AM, Augie Fackler <raf at durin42.com <mailto:raf at durin42.com>> wrote:
> 
>> 
>> I don't either. Do whichever of the versions that mentions hg that makes you happier?
>> 
>> (I think we should default to not advertising as git, so that people can file bugs? Or is that a bad UX?)
> 
> That’s what I initially thought, and how I coded it. I do think that’s potentially a bad UX though. After seeing the example in the RFC, I wonder if we should just put in both identifiers and be done with it.

Works for me.

(For optional bonus points, leave the config option so we can force a sane user-agent and at least eager hg devs can smoke out bad LFS servers? I don’t feel strongly though.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20171213/12a136ab/attachment.html>


More information about the Mercurial-devel mailing list