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

Re: Error on using git update-git-for-windows

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 24, 2025, 13:05 UTC
Message-ID
<ceb84ea7-6359-63c4-e02b-418d9d313b06@gmx.de>
In-Reply-To
<CA+7SsOdTiAocj7ZTV=OVw0tyKJxZ-H+m5S8soPfFy6zW=1ddzg@mail.gmail.com>
Hi Junio,
On Wed, 9 Apr 2025, Junio Luan Pereira wrote:
Show 10 quoted lines
> I am using git-for-windows on a windows 11 laptop with the Brazilian
> Portuguese language.
> 
> Recently, an error occur every time I execute the git
> update-git-for-windows in the following way:
> 
> $ git update-git-for-windows
> curl: (35) schannel: next InitializeSecurityContext failed:
> CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - A fun��o de revoga��o n�o
> p�de verificar a revoga��o do certificado.
This command is implemented as a Unix shell script:
https://github.com/git-for-windows/build-extra/blob/HEAD/git-extra/git-update-git-for-windows

Could you edit (in elevated mode!) the file at `C:\Program Files\Git\mingw64\bin\git-update-git-for-windows` and add the `--ssl-revoke-best-effort` option (for a full explanation, see https://curl.se/docs/manpage.html#--ssl-revoke-best-effort) to the two `curl` invocations in that script, and then try it again?

Thank you, Johannes

Show 12 quoted lines
> 
> Reinstalling completely the program apparently does not work.
> 
> Is this some kind of bug on git-for-windows? Was it reported? Should
> it be reported?
> 
> PS: I have no knowledge of programming, developing or debugging git.
> Ask me in case more information is needed.
> 
> Sincerely
> 
> 
Previous: brian m. carlsonNext: Junio Luan Pereira
Message 3 of 7 in “Error on using git update-git-for-windows”
  1. Junio Luan PereiraApr 9, 2025
  2. brian m. carlsonApr 9, 2025
  3. Johannes SchindelinApr 24, 2025
  4. Junio Luan PereiraApr 25, 2025
  5. Johannes SchindelinApr 28, 2025
  6. Junio Luan PereiraApr 28, 2025
  7. Johannes SchindelinJul 17, 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.