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 |
Description
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: | defect → enhancement |
---|
comment:2 Changed 15 months ago by chrstphrchvz (Christopher Chavez)
Note: See
TracTickets for help on using
tickets.
According to https://github.com/git-lfs/git-lfs/blob/main/README.md, git ≥ 1.8.5 is required on macOS. From browsing https://opensource.apple.com/, Xcode 5.1 is the earliest version meeting this requirement (contains git 1.8.5.2). Based on wiki:XcodeVersionInfo and https://en.wikipedia.org/wiki/Xcode#Xcode_5.0_-_6.x_(since_arm64_support), 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.