Skip to content

Conversation

@chrisd8088
Copy link
Member

Since commit a343a11 of PR #1461, a number of our commands, including git lfs pull, git lfs push, and git lfs track, have checked the version of the currently available Git program and reported an error if it was not at least version 1.8.2.

However, when we added support for the git lfs migrate command in PR #2353, the actual minimum supported version of Git was changed from 1.8.x to 1.9.0 (in commit 1d0e834) and then to 2.0.0 (in commit 5aea841).

These changes were made to the Travis CI configuration in use at the time, and later migrated to our current GitHub Actions CI workflow in commit c32820806229c3f42364d989f7a8597f73cb107ba of PR #3808. This workflow continues to run our Git LFS test suite using Git 2.0.0.

More recently, in commit 1501265 of PR #5921, we updated our README file to document that the current minimum supported version of Git we require is v2.0.0.

We therefore now update the minimum Git version required by the Git LFS client to 2.0.0 by adjusting the version string defined in the requireGitVersion() function of our commands package.

Since commit a343a11 of PR git-lfs#1461,
a number of our commands, including "git lfs pull", "git lfs push",
and "git lfs track", have checked the version of the currently
available Git program and reported an error if it was not at least
version 1.8.2.

However, when we added support for the "git lfs migrate" command
in PR git-lfs#2353, the actual minimum supported version of Git was changed
from 1.8.x to 1.9.0 (in commit 1d0e834)
and then to 2.0.0 (in commit 5aea841).

These changes were made to the Travis CI configuration in use at the time,
and later migrated to our current GitHub Actions CI workflow in commit
c32820806229c3f42364d989f7a8597f73cb107ba of PR git-lfs#3808.  This workflow
continues to run our Git LFS test suite using Git 2.0.0.

More recently, in commit 1501265 of
PR git-lfs#5921, we updated our README file to document that the current
minimum supported version of Git we require is v2.0.0.

We therefore now update the minimum Git version required by the Git LFS
client to 2.0.0 by adjusting the version string defined in the
requireGitVersion() function of our "commands" package.
@chrisd8088 chrisd8088 requested a review from a team as a code owner April 3, 2025 06:37
@chrisd8088 chrisd8088 merged commit b67b4e7 into git-lfs:main Apr 4, 2025
10 checks passed
@chrisd8088 chrisd8088 deleted the update-min-git-version branch April 4, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants