Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make Gitea always use its internal config, ignore/etc/gitconfig#33076

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lunny merged 3 commits intogo-gitea:mainfromwxiaoguang:fix-git-global-config
Jan 2, 2025

Conversation

@wxiaoguang
Copy link
Contributor

@wxiaoguangwxiaoguang commentedJan 2, 2025
edited
Loading

In history, Gitea could use the system config/etc/gitconfig because some users said that "they might put certNonceSeed in it"

Actually, we shouldn't not use it, because it also causes conflicts (there are already some fixes like#28848)

To make the system clear, I think it's worth to introduce the breaking change: addGIT_CONFIG_NOSYSTEM=1 to all git commands.

⚠️ BREAKING⚠️

For most users, nothing need to do.

If you have made changes to/etc/gitconfig to affect Gitea's behavior, you need to move these config options to Gitea's internal git config file, it is usually in Gitea's{AppDataPath}/home/.gitconfig.

@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJan 2, 2025
@github-actionsgithub-actionsbot added the modifies/goPull requests that update Go code labelJan 2, 2025
@wxiaoguangwxiaoguang changed the titleMake Gitea always use its internal config, ignore/etc/git/configMake Gitea always use its internal config, ignore/etc/gitconfigJan 2, 2025
@wxiaoguangwxiaoguang added this to the1.24.0 milestoneJan 2, 2025
@wxiaoguangwxiaoguang added the pr/breakingMerging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! labelJan 2, 2025
@GiteaBotGiteaBot added lgtm/need 1This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelsJan 2, 2025
@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsJan 2, 2025
@lunnylunnyenabled auto-merge (squash)January 2, 2025 20:01
@lunnylunny added the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJan 2, 2025
@lunnylunny merged commite709cc7 intogo-gitea:mainJan 2, 2025
26 checks passed
@GiteaBotGiteaBot removed the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJan 2, 2025
@wxiaoguangwxiaoguang deleted the fix-git-global-config branchJanuary 3, 2025 01:50
zjjhot added a commit to zjjhot/gitea that referenced this pull requestJan 6, 2025
* giteaofficial/main:  [skip ci] Updated translations via Crowdin  Fix dropdown menu header and mobile view (go-gitea#33108)  workflow_dispatch use workflow from trigger branch (go-gitea#33098)  [skip ci] Updated translations via Crowdin  Trivial fixes (go-gitea#33103)  Fix empty git repo handling logic (go-gitea#33101)  Refactor legacy line-number and scroll code (go-gitea#33094)  Use `Project-URL` metadata field to get a PyPI package's homepage URL (go-gitea#33089)  Clean up legacy form CSS styles (go-gitea#33081)  [skip ci] Updated translations via Crowdin  add myself to maintainers (go-gitea#33088)  Make Gitea always use its internal config, ignore `/etc/gitconfig` (go-gitea#33076)  Fix "stop time tracking button" on navbar (go-gitea#33084)  Fix bleve fuzziness search (go-gitea#33078)  Try to fix ACME directory problem (go-gitea#33072)  Refactor env var related code (go-gitea#33075)
@go-giteago-gitea locked asresolvedand limited conversation to collaboratorsApr 3, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@lunnylunnylunny approved these changes

@delvhdelvhdelvh approved these changes

Assignees

No one assigned

Labels

lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/goPull requests that update Go codepr/breakingMerging this PR means builds will break. Needs a description what exactly breaks, and how to fix it!

Projects

None yet

Milestone

1.24.0

Development

Successfully merging this pull request may close these issues.

4 participants

@wxiaoguang@lunny@delvh@GiteaBot

[8]ページ先頭

©2009-2025 Movatter.jp