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

Re: Wrong error message when cloning from http gitlab (and everything still works anyway)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 28, 2024, 15:53 UTC
Message-ID
<1a2fa9e6-fafa-8981-568c-007e4b6c8896@gmx.de>
In-Reply-To
<xmqqh6bcva55.fsf@gitster.g>
Hi Junio & Marlon,
On Thu, 22 Aug 2024, Junio C Hamano wrote:
Show 28 quoted lines
> Marlon Regenhardt <marlon.r@hotmail.de> writes:
>
> > I'm currently setting up my new work PC (now Windows 11) and got a weird error message when cloning our repository:
> >
> >  - run git clone on an http GitLab instance, in my case I ran `git clone http://gitlab.company-local-domain.de/group/project LocalRepo-Name`
> >    Note:
> >     - http, not https
> >     - GitLab
> >  - Get the following error message:
> >    fatal: Unencrypted HTTP is not supported for GitHub. Ensure the repository remote URL is using HTTPS.
>
> A funny thing is that
>
>     $ git grep "Unencrypted HTTP is not"
>
> in the entire codebase of Git gives no hits.  If this message is
> coming from some add-on Git-for-Windows ships with, a better place
> to raise this issue would be Git-for-Windows project's tracker page
>
>   https://github.com/git-for-windows/git/issues
>
> than here on this list.  I tried
>
>   https://github.com/search?q=org%3Agit-for-windows%20%22Unencrypted%20HTTP%22&type=code
>
> to see if they have that string, which found no hits, so there may
> be some other components, other than Git project ships and
> Git-for-windws project adds, that is in play.

Seems that Marlon found the correct project to fix this: https://github.com/git-ecosystem/git-credential-manager/pull/1694

Now we only need to find funding for non-security-related work on GCM and we'll be good.

Ciao, Johannes

Previous: Junio C Hamano
Message 3 of 3 in “Wrong error message when cloning from http gitlab (and everything still works anyway)”
  1. Marlon RegenhardtAug 22, 2024
  2. Junio C HamanoAug 22, 2024
  3. Johannes SchindelinAug 28, 2024

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.