git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-remote: fixed missing .uploadpack usage for show command

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 25, 2009, 18:32 UTC
Message-ID
<7vmy7wcgge.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090625090036.GA32650@foursquare.net>
Chris Frey <cdfrey@foursquare.net> writes:
> When using 'git remote show <name>', the remote HEAD check
> did not use the uploadpack configuration setting.
>
> Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Thanks.

"X did not use Y" may be a good statement of the fact. From the patch text it can be seen that a NULL used to be passed and the patch makes it to pass states->remote instead, so "This patch make X use Y", even though left unsaid in the message, can be seen.

But it does not answer a more important question. How was it a problem that "X did not use Y"?

People who followed a recent discussion know the answer to this question, but ones who read this in the "git log" output 6 months down the line will not. Please make a habit of justifying the change by stating "why".

"X should have used Y because of such and such reasons, but it didn't. Instead of showing the correct result W, it gave Z, which may happen to be the same as W in default settings but otherwise is wrong."

Previous: Chris FreyNext: Chris Frey
Message 2 of 4 in “git-remote: fixed missing .uploadpack usage for show command”
  1. git-remote: fixed missing .uploadpack usage for show commandChris Frey, Jun 25, 2009
  2. Junio C HamanoJun 25, 2009
  3. git-remote: fixed missing .uploadpack usage for show commandChris Frey, Jun 25, 2009
  4. Junio C HamanoJun 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.