Skip to content
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

Prefer variables over subprocesses #26690

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Prefer variables over subprocesses #26690

merged 1 commit into from
Aug 23, 2023

Conversation

thomas-mc-work
Copy link
Contributor

… because it doesn't require a separate shell, spawning a process which cost unnecessary resources and takes time.

… because it doesn't require a separate shell, spawning a process which cost unnecessary resources and takes time.
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 23, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 23, 2023
@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 Aug 23, 2023
@delvh delvh added type/docs This PR mainly updates/creates documentation backport/v1.20 This PR should be backported to Gitea 1.20 labels Aug 23, 2023
@silverwind
Copy link
Member

silverwind commented Aug 23, 2023

I think one could even use . in place of $PWD.

@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 Aug 23, 2023
@jolheiser jolheiser merged commit 083b0b4 into go-gitea:main Aug 23, 2023
23 checks passed
@GiteaBot GiteaBot added this to the 1.21.0 milestone Aug 23, 2023
GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Aug 23, 2023
… because it doesn't require a separate shell, spawning a process which
cost unnecessary resources and takes time.
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Aug 23, 2023
silverwind pushed a commit that referenced this pull request Aug 23, 2023
Backport #26690 by @thomas-mc-work

… because it doesn't require a separate shell, spawning a process which
cost unnecessary resources and takes time.

Co-authored-by: Thomas McWork <[email protected]>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 24, 2023
* upstream/main:
  feat(API): update and delete secret for managing organization secrets (go-gitea#26660)
  Remove ref name in PR commits page (go-gitea#25876)
  Modify the content format of the Feishu webhook (go-gitea#25106)
  Handle "comment form combo editor init" more gracefully (go-gitea#26688)
  Prefer variables over subprocesses (go-gitea#26690)
  Fix archived unix time when archiving the label (go-gitea#26681)
  Make "link-action" backend code respond correct JSON content (go-gitea#26680)
  Fix doubled box-shadow in branch dropdown menu (go-gitea#26678)
  Refactor toast module (go-gitea#26677)
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Nov 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created backport/v1.20 This PR should be backported to Gitea 1.20 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants