-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Browsing to an uninitialized repository results in "System Notice" about editorconfig #7943
Comments
related with #7938 |
#6478 is the commit that caused this to start happening, but the system warning code has been in middleware for years now. What happenes in #6478 is that it changes the error in ctx.Repo.GetEditorconfig() here: gitea/routers/repo/middlewares.go Lines 13 to 21 in 042089f
From: To: Which then trips the !git.IsErrNotExist(err) check: Lines 33 to 41 in 042089f
I'm not sure if IsErrNotExist needs to be updated here as I'm not familiar with all the git plumbing code. Separate from that, not really sure this needs to be a system notice either -- but it has been like that for years now and only recently is this check failing. Perhaps @filipnavara has more insight to the error change as they authored the commit where this started. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This is still opened, until something changes you'll continue to see potentially confusing/untrackable System Notices about this |
Just installed 1.9.6 with MSSql and can confirm get the same issue |
[x]
):Description
The text was updated successfully, but these errors were encountered: