Skip to content

Conversation

wxiaoguang
Copy link
Contributor

@wxiaoguang wxiaoguang commented Oct 15, 2022

After some discussion, introduce a new slice brokenArgs to make gitCmd.Run() return errors if any dynamic argument is invalid.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 15, 2022
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 15, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 15, 2022
Co-authored-by: delvh <dev.lh@web.de>
@6543 6543 merged commit 677af6a into go-gitea:main Oct 15, 2022
@6543 6543 added this to the 1.18.0 milestone Oct 15, 2022
@6543 6543 added type/refactoring Existing code has been cleaned up. There should be no new functionality. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Oct 15, 2022
@wxiaoguang wxiaoguang deleted the fix2 branch October 15, 2022 12:23
6543 added a commit that referenced this pull request Oct 15, 2022
Backport #21464 and #21465

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
tyroneyeh pushed a commit to tyroneyeh/gitea that referenced this pull request Oct 24, 2022
Backport go-gitea#21464 and go-gitea#21465

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/refactoring Existing code has been cleaned up. There should be no new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants