mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Fix Git base version for worktreeconfig extension
worktreeconfig extension only appears with version Git 2.20.0 Change-Id: I3ea8b7d9f8a1f7953e536edd77b09cbc4f8f3158 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/276700 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Adrien Bioteau <adrien.bioteau@gmail.com>
This commit is contained in:
parent
80944b538d
commit
65f51ad29b
@ -2793,7 +2793,7 @@ class Project(object):
|
|||||||
|
|
||||||
# Enable per-worktree config file support if possible. This is more a
|
# Enable per-worktree config file support if possible. This is more a
|
||||||
# nice-to-have feature for users rather than a hard requirement.
|
# nice-to-have feature for users rather than a hard requirement.
|
||||||
if git_require((2, 19, 0)):
|
if git_require((2, 20, 0)):
|
||||||
self.EnableRepositoryExtension('worktreeConfig')
|
self.EnableRepositoryExtension('worktreeConfig')
|
||||||
|
|
||||||
# If we have a separate directory to hold refs, initialize it as well.
|
# If we have a separate directory to hold refs, initialize it as well.
|
||||||
|
Loading…
Reference in New Issue
Block a user