diff options
author | Adrien Bioteau <adrien.bioteau@gmail.com> | 2020-07-24 14:56:20 +0200 |
---|---|---|
committer | Adrien Bioteau <adrien.bioteau@gmail.com> | 2020-07-30 20:46:11 +0000 |
commit | 65f51ad29b69986148a3eebd58683f0c4755d10a (patch) | |
tree | 0de0fce41372cfae4bf54c4bbc3703d4419a70c5 /project.py | |
parent | 80944b538d606a8ee143db85ca9e50305d3c73e4 (diff) | |
download | git-repo-65f51ad29b69986148a3eebd58683f0c4755d10a.tar.gz |
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>
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2793,7 +2793,7 @@ class Project(object): | |||
2793 | 2793 | ||
2794 | # Enable per-worktree config file support if possible. This is more a | 2794 | # Enable per-worktree config file support if possible. This is more a |
2795 | # nice-to-have feature for users rather than a hard requirement. | 2795 | # nice-to-have feature for users rather than a hard requirement. |
2796 | if git_require((2, 19, 0)): | 2796 | if git_require((2, 20, 0)): |
2797 | self.EnableRepositoryExtension('worktreeConfig') | 2797 | self.EnableRepositoryExtension('worktreeConfig') |
2798 | 2798 | ||
2799 | # If we have a separate directory to hold refs, initialize it as well. | 2799 | # If we have a separate directory to hold refs, initialize it as well. |