You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: View of the test_tab2 file (tabsize=2).
Received: The standard view of the gitea server, i.e.
version 1.20.4: tabsize=8
version 1.22.0-dev: tabsize=4 since #26391
Hint: Changing the default branch to branch "issue"
recognizes the .editorconfig file!
So I think the .editorconfig file is only recognized at the default branch.
Interesting references about this topic: #26391#24991
I would like to have a configuration option via the GUI that
can be set for the entire repository: indent style, and
indent size, similar to the .editorconfig, but without those conflicts
and knowledgement about the usage of .editorconfig
Description
gitea version 1.20.4 (my installed version at git.kuschel.at)
gitea version 1.22.0+dev-95-gcc5df2668 (try.gitea.io)
Reproduce the issue:
indent_style = tab, and indent_size = 2.
and push it to the gitea server.
Expected: View of the test_tab2 file (tabsize=2).
Received: The standard view of the gitea server, i.e.
version 1.20.4: tabsize=8
version 1.22.0-dev: tabsize=4 since #26391
Links for testing:
Hint: Changing the default branch to branch "issue"
recognizes the .editorconfig file!
So I think the .editorconfig file is only recognized at the default branch.
Interesting references about this topic: #26391 #24991
I would like to have a configuration option via the GUI that
can be set for the entire repository: indent style, and
indent size, similar to the .editorconfig, but without those conflicts
and knowledgement about the usage of .editorconfig
Gitea Version
1.22.0+dev-95-gcc5df2668 , 1.20.4
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
https://try.gitea.io , see https://try.gitea.io/giteamaster/editorconfig
release binary 1.20.4 https://git.kuschel.at installed on Debian 12, 6.1.0-12-amd64 # 1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 6.2.0-24
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: