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

Re: Which macOS versions does Git support?

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
May 19, 2023, 17:49 UTC
Message-ID
<7778a454-fefd-5b8a-212b-ab46681ccfd4@jeffhostetler.com>
In-Reply-To
<20230519090917.GB3515410@coredump.intra.peff.net>
On 5/19/23 5:09 AM, Jeff King wrote:
Show 28 quoted lines
> On Fri, May 19, 2023 at 08:00:00AM +0100, M Hickford wrote:
> 
>> Hi. Does anyone know which macOS versions are supported by Git?
> 
> I don't think we have any formal decision here (or for any other
> platform; it is usually a cost/benefit for individual features we may
> want to depend on).
> 
>> Motivation: I spotted that git-credential-osxkeychain.c uses a
>> deprecated API. SecKeychainAddInternetPassword was deprecated in
>> 2014's macOS 10.10 [1].  Replacement SecItemAdd was introduced in
>> 2009's macOS 10.6 [2].
> 
> +cc Taylor, who I know was looking into this recently.
> 
> I'd guess that anything older than 2009 is probably not worth worrying
> about.
> 
>> Further motivation: If I understand the documentation correctly, the
>> new SecItemAdd API has better support for storing attributes alongside
>> secrets, which might be handy for storing Git credential's new
>> password_expiry_utc attribute (d208bfd, credential: new attribute
>> password_expiry_utc, 2023-02-18).
> 
> Yeah, that would be a nice bonus (in addition to avoiding a deprecated
> interface).
> 
> -Peff

I had similar issues last year with older versions of the compiler tools and/or an API that I was using in FSMonitor.

https://lore.kernel.org/git/xmqqsfhtphpl.fsf@gitster.g/T/ https://lore.kernel.org/git/pull.1375.git.1665085395.gitgitgadget@gmail.com/

IIRC my API usage needs 10.6 or newer.
Jeff
Previous: Jeff KingNext: Carlo Marcelo Arenas Belón
Message 3 of 6 in “Which macOS versions does Git support?”
  1. M HickfordMay 19, 2023
  2. Jeff KingMay 19, 2023
  3. Jeff HostetlerMay 19, 2023
  4. Carlo Marcelo Arenas BelónMay 20, 2023
  5. M HickfordMay 20, 2023
  6. Jeff KingMay 22, 2023

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.