From: Miljan Mitrovic Date: Wed, 01 Apr 2026 15:35:17 GMT Subject: RE: Cloning an empty SHA256 remote creates a local SHA1 repo Message-ID: In-Reply-To: Ah gotcha. I just see that the client has not been auto-upgraded. I moved to 2.53 and now it works ok. Thank you and apologies for the false alarm. /m -----Original Message----- From: Patrick Steinhardt Sent: Wednesday, April 1, 2026 2:45 PM To: Miljan Mitrovic Cc: git@vger.kernel.org Subject: Re: Cloning an empty SHA256 remote creates a local SHA1 repo > This was a known bug indeed, but we eventually fixed this by announcing an "object-format" capability that tells the client about the repository's object format, even if it's empty. The fixes required for this have been released as part of Git v2.41. So once you and your server run at least that version it should work as expected. Thanks! Patrick