-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor git version functions and check compatibility (#29155) #29157
Refactor git version functions and check compatibility (#29155) #29157
Conversation
c.env = append(c.env, "GIT_FLUSH=0") | ||
} else { | ||
c.env = append(c.env, "GIT_FLUSH=1") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this part not in the main branch PR? Not needed there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think we do not need to do it in the main branch.
Maybe it's good to help some unlucky users in 1.21 branch (try the best to avoid "breaking" in a stable release)
Automatically locked because of our CONTRIBUTING guidelines |
Backport #29155 with an extra change: tolerate the git 2.43.1 GIT_FLUSH bug in Gitea 1.21.x, more details in the comment of repo_attribute.go
Manually tested with git 2.43.1 and an old git (2.39.2)