Re: [PATCH] remote-curl: send Accept-Language header to server
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 3, 2022, 00:57 UTC
- Message-ID
- <xmqq1qv3m2rf.fsf@gitster.g>
- In-Reply-To
- <2022061010332322021051@oschina.cn>
"lilinchao@oschina.cn" <lilinchao@oschina.cn> writes:
Show 6 quoted lines
>>I think the end-goal of having the "remote: " messages translated, if >>possible, is very worthwhile, but I'd always imagined we'd do that with >>a protocol extension, because even if we do this with HTTP headers we >>won't get the same over ssh/git transports. > > As for ssh transport, can we use ssh environment to reach our goal?
Not really. Before forcing us to invent completely separate mechanisms for different transports, it is a very good idea to consider if we can use a single mechanism that can apply to all transports. Adding something at the protocol level would be a step in the right direction.