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

Re: [ANNOUNCE] Git v2.44.0

From
Mike Hommey <mh@glandium.org>
Date
Feb 24, 2024, 05:10 UTC
Message-ID
<20240224051040.ftuo24smozqugbde@glandium.org>
In-Reply-To
<xmqqbk87w164.fsf@gitster.g>
Hi,
On Fri, Feb 23, 2024 at 09:17:07AM -0800, Junio C Hamano wrote:
> Patrick Steinhardt (139):
>       builtin/clone: create the refdb with the correct object format

I haven't analyzed how/why exactly yet, but I've bisected a regression in the behavior of is_git_directory() during a clone to originate from this change.

Here's a way to reproduce the problem:

``` $ cat > git-remote-foo <<EOF #!/bin/sh git config --local -l >&2 exit 1 EOF $ chmod +x git-remote-foo $ PATH=$PWD:$PATH git clone foo::bar ```

With versions < 2.44.0, it displays the local configuration, e.g.: ``` core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=foo::bar ```

but with 2.44.0, it fails with: ``` fatal: --local can only be used inside a git repository ```

Mike
Previous: Junio C HamanoNext: Patrick Steinhardt
Message 2 of 8 in “[ANNOUNCE] Git v2.44.0”
  1. Junio C HamanoFeb 23, 2024
  2. Mike HommeyFeb 24, 2024
  3. Patrick SteinhardtFeb 24, 2024
  4. Mike HommeyFeb 24, 2024
  5. Patrick SteinhardtFeb 25, 2024
  6. Junio C HamanoFeb 25, 2024
  7. Patrick SteinhardtFeb 27, 2024
  8. Patrick SteinhardtFeb 27, 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.