Opened 15 months ago

Last modified 15 months ago

#64044 assigned enhancement

git-lfs: allow using system git

Reported by: chrstphrchvz (Christopher Chavez) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: git-lfs


For my own uses, the git included with Xcode 12.4 command line tools has been sufficient. I encountered a repository that requires git-lfs. But MacPorts’ git-lfs currently depends on MacPorts’ git, which is not distributable. I think it would be desirable to not have to build git locally just to use MacPorts’ git-lfs, and it appears to work fine with system git (e.g. no broken links to MacPorts git). Can the git-lfs port specify the git dependency using bin:git:git, at least on systems with sufficiently recent git?

Change History (2)

comment:1 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

Type: defectenhancement

comment:2 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

According to, git ≥ 1.8.5 is required on macOS. From browsing, Xcode 5.1 is the earliest version meeting this requirement (contains git Based on wiki:XcodeVersionInfo and, a compatible git version may be present on macOS 10.8 and 10.9, but is may only be guaranteed to be present on 10.10 and later.

Version 0, edited 15 months ago by chrstphrchvz (Christopher Chavez) (next)
Note: See TracTickets for help on using tickets.