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

Re: [PATCH] help: inform about 'git update-git-for-windows' on Windows

From
Aditya Garg <gargaditya08@live.com>
Date
May 22, 2025, 03:18 UTC
Message-ID
<PN3PR01MB9597B771CBDF19569B89AD1DB899A@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
In-Reply-To
<aC5bI_Y9-ZQPXJ4t@tapette.crustytoothpaste.net>
Show 39 quoted lines
> On 22 May 2025, at 4:31 AM, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> 
> On 2025-05-21 at 22:23:33, Junio C Hamano wrote:
>> "brian m. carlson" <sandals@crustytoothpaste.net> writes:
>>> I don't think this belongs in our codebase.  It should instead be
>>> carried as a patch in Git for Windows.  The reason is that there are a
>>> variety of possible projects that compile for Windows—Git for Windows,
>>> Cygwin, MINGW, etc.—and only one of them ships this binary.  It is even
>>> possible for users to compile their own Windows binaries, which I know
>>> is at least done by Microsoft as well as some Git contributors on
>>> Windows.
>>> 
>>> This change might be misleading or incorrect as it might tell users to
>>> invoke a binary which is not present or to update software in a way
>>> which is not via the normal package mechanism.  For instance, telling a
>>> MINGW or Cygwin user to run that command would not result in anything
>>> useful or desired happening.
>> 
>> Do you mean that this is OK if the #ifdef were more specific to
>> Git-for-Windows?  Just being curious.
> 
> I don't think that would be a good idea, either.  There's no such #ifdef
> to my knowledge and we have lots of ways for people to update software.
> We don't tell people to run commands to update to a newer version of
> their Debian package because that's a responsibility of the packager or
> distributor, and so the same policy applies here.  If Debian wants that
> message to be included, then they can apply a patch and receive any bug
> reports or other feedback related to that message; same goes for Git for
> Windows.
> 
> I also happen to know that in some corporate environments proxy problems
> cause the updater to break (which is not in any way a surprise) and
> there are also cases where antivirus false positives flag the updater or
> other tools.  We do not in any way want to receive reports about those
> problems or the updater and if we avoid recommending it, then we aren't
> responsible for it.  Otherwise, we'll inevitably get a request to allow
> people to configure that message because it doesn't work in their very
> special corporate environment and they don't want to confuse their
> users.
Makes sense, let's just drop this patch then.
Previous: brian m. carlson
Message 6 of 6 in “Proposal: Add tip to use git update-git-for-windows when running git help or git version on Windows”
  1. Aditya GargMay 20, 2025
  2. help: inform about 'git update-git-for-windows' on WindowsAditya Garg, May 21, 2025
  3. brian m. carlsonMay 21, 2025
  4. Junio C HamanoMay 21, 2025
  5. brian m. carlsonMay 21, 2025
  6. Aditya GargMay 22, 2025

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.