TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“Problems” with git format-patch

134 pointsby davvidabout 6 years ago

6 comments

josteinkabout 6 years ago
Gmail is wrong? And no surprise there.<p>Don’t get me wrong: having written enough email-stuff myself, I can fully sympathize with Linus.<p>That said: Just like the worldwide web is quickly turning into whatever Google pushes through Chrome and their web assets, internet email now slowly seems to become whatever Gmail does or supports. Which is terrible.<p>90% of the programming guides for various languages and libraries now are <i>not</i> “This is how you send an internet email using SMTP from $X”, they are “This is how you send a <i>Gmail</i> from $X”.<p>And all that’s because of one single thing only: Market-share.<p>Get off Gmail. Get off Chrome. And help others do that too. Help bring down that market-share, and you may help restore balance to the internet.
评论 #19570437 未加载
评论 #19570402 未加载
评论 #19570473 未加载
评论 #19570404 未加载
评论 #19571094 未加载
microtherionabout 6 years ago
As an aside, this is a superbly professional e-mail, with clear references to the applicable standards, and the disapproval of the broken service stated firmly, but using clean language. Does anybody really think that Linus&#x27; (hopefully) past practice of starting with a foul mouthed rant, and only drilling down into the technical detail three pages in was a more effective way of communicating?
评论 #19570782 未加载
评论 #19570869 未加载
评论 #19570864 未加载
评论 #19570822 未加载
cpachabout 6 years ago
Here’s a copy of the thread with a light color scheme: <a href="https:&#x2F;&#x2F;marc.info&#x2F;?l=git&amp;m=155260711429449&amp;w=2" rel="nofollow">https:&#x2F;&#x2F;marc.info&#x2F;?l=git&amp;m=155260711429449&amp;w=2</a>
评论 #19570630 未加载
simiasabout 6 years ago
It&#x27;s tempting to pile on Gmail and its monopoly and use this as an example of them &quot;taking over&quot; email but at the same time this type of ossification for long-used protocols is fairly common in my experience. In practice everybody ends up relying on a safe subset of the spec that everybody is expected to understand correctly.<p>Try implementing a fuzzer for HTTP, SMTP, NTP, USB-C, CD-ROM or, say, TLS that tests every obscure corner case of the spec and see how many implementations fail to conform.<p>Given that I wasn&#x27;t aware of this issue before reading this email shows that it&#x27;s probably not much of an issue in practice. I can imagine that whoever implemented this at Google took a shortcut originally, adding a &quot;&#x2F;&#x2F; XXX maybe we should allow arbitrary order for headers?&quot; comment and it never turned out to be an issue in practice (better yet, it might help them discard bogus emails early in the pipeline).<p>Still, I can empathize with Linus&#x27;s frustration, it&#x27;s always annoying when you write technically correct code and it doesn&#x27;t work because a third party didn&#x27;t do it right.
评论 #19570855 未加载
评论 #19571300 未加载
评论 #19570559 未加载
评论 #19570560 未加载
评论 #19570540 未加载
viraptorabout 6 years ago
I&#x27;m more disappointed about the RFC than gmail... Publishing a specific syntax which uses specific ordering and just leaving a note that it&#x27;s actually incorrect is a really bad way of writing specifications. RFCs should be really clear and explicit in things like that.
评论 #19570702 未加载
评论 #19571295 未加载
jobigoudabout 6 years ago
&gt; I have a very strong suspicion that it&#x27;s easier to fix &quot;git format-patch&quot; than it is to fix whatever odd gmail issue.<p>Third option: Update the RFC so that it&#x27;s more opinionated and makes the ordering of the headers a mandatory part of the spec.
评论 #19570433 未加载
评论 #19570584 未加载