Ignore files in diff with check-attr #16262
Closed
KN4CK3R wants to merge 2 commits from
feature-gitattributes-checkattr
into main
pull from: feature-gitattributes-checkattr
merge into: lunny:main
lunny:main
lunny:KN4CK3R/fix-17378
lunny:yarg-kane/main
lunny:6543-forks/refactor_teams-to-api-convert
lunny:qwerty287/timeline-api
lunny:99rgosse/migration-history
lunny:qwerty287/wiki-api
lunny:qwerty287/notifications-site
lunny:qwerty287/fork-dialog
lunny:lunny/lunny/api_ui
lunny:wxiaoguang/issue-content-history-fix
lunny:wxiaoguang/frontend-index-init
lunny:release/v1.15
lunny:zeripath/go-json
lunny:andrebruch/feature-add-issue-and-comment-attachments-api
lunny:wxiaoguang/optimize-logger
lunny:SahAssar/patch-1
lunny:delvh/refactor-js
lunny:noerw/fix-17179
lunny:zeripath/request-as-process
lunny:KN4CK3R/feature-migrate-gitbucket
lunny:dpschen/patch-1
lunny:wxiaoguang/enforce-2fa
lunny:raygervais/update/rel-nofollow
lunny:kolaente/feature/auto-merge
lunny:lunny/lunny/user_orgs_pagination
lunny:techknowlogick/user-settings
lunny:lunny/lunny/refactor_issues
lunny:zeripath/oidc-claims
lunny:techknowlogick/milestone-labels
lunny:n194/wiki-footer-sidebar-hints
lunny:KN4CK3R/feature-packages
lunny:techknowlogick/snap-fix
lunny:zeripath/attempt-to-fix-17138
lunny:anbraten/sort-project-issuses
lunny:a1012112796/double_clicked_button
lunny:netzbegruenung/feature/ldap-group-sync
lunny:zeripath/backport-17154
lunny:OleHusgaard/main
lunny:KN4CK3R/feature-migrate-codebase
lunny:zeripath/page-directory-entries-on-viewcode
lunny:osmosBe/patch-1
lunny:release/v1.14
lunny:silverwind/hashlink
lunny:fuzzing-stuff/add-custom-date-16841
lunny:derekhu/patch-1
lunny:lunny/lunny/rename_modules_pkgs2
lunny:lunny/lunny/refactor_context
lunny:zeripath/pause-queues
lunny:lunny/lunny/http_refactor
lunny:boppy/pwd-update
lunny:zeripath/fix-15178-provide-aliases-for-submodules
lunny:noerw/docs-stl-update-url
lunny:KN4CK3R/refactor-sanitize
lunny:drachenfels-de/main
lunny:sschroe/main
lunny:zeripath/fix-7508-support-proxy-protocol
lunny:lunny/lunny/cache_ledis
lunny:a1012112796/hooks
lunny:ibpl/master-IB#1107572
lunny:KN4CK3R/fix-12331
lunny:dragonflylee/container
lunny:6543-forks/update-vendor-cli
lunny:zeripath/add-max-concurrent-hashes
lunny:a1012112796/migration_trn
lunny:a1012112796/ui_create_repo_bug
lunny:zeripath/speed-up-testpatch
lunny:a1012112796/issue_lable_api
lunny:colorfulwolf/fix-unuse-truncate
lunny:a1012112796/imap
lunny:release/v1.13
lunny:kolaente/feature/pr-prompt
lunny:a1012112796/custom-repo-buttons
lunny:POPSuL/f/save-whitespace-behavior
lunny:a1012112796/docker_support
lunny:lunny/lunny/services
lunny:andrebruch/fix/release_api
lunny:6543-forks/private-issue_3217
lunny:jolheiser/template-branch-prot
lunny:silverwind/textarea
lunny:rogerluo410/dev-project-board
lunny:CL-Jeremy/svg-vertical-alignment
lunny:CL-Jeremy/mobile-repo-rework
lunny:lunny/lunny/user
lunny:silverwind/jsx
lunny:CL-Jeremy/mobile-tabs
lunny:rogerluo410/dev-find-file
lunny:lunny/lunny/inline_comment
lunny:ibpl/master-IB#1105051
lunny:appleboy/patch2
lunny:lunny/lunny/sqlite
lunny:noerw/fix-14942
lunny:lunny/lunny/fix_http_bug
lunny:AllSpiceIO/kd/fix-docker_rootless_docs
lunny:pini-gh/pini
lunny:daniil-pankratov/create-admin-auths-api
lunny:6543-forks/docs_man_config-pages
lunny:openscript/patch-1
lunny:a1012112796/init_graphql
lunny:jolheiser/commit-hide-email
lunny:jamesorlakin/feature/mfaDocumentationPage
lunny:lunny/lunny/system_hook_api
lunny:Rob61/add-support-for-multiple-ldap-server
lunny:lunny/lunny/reaction_col_size
lunny:lafriks-fork/feat/indexer_availability
lunny:lafriks-fork/feat/secrets
lunny:lunny/lunny/new_file_blank_repo
lunny:lunny/lunny/improve_notification
lunny:mrsdizzie/better-diff
lunny:CirnoT/commit-refs
lunny:zeripath/no-go-git-refactor-all-the-git
lunny:6543-forks/issue-page-filter-author
lunny:6543-forks/ui-migration-cancel
lunny:macvag/master
lunny:6543-forks/release-attachments_reject-duplicate-names
lunny:johanvdw/commit_sha
lunny:release/v1.12
lunny:a1012112796/feature/Pinned_repo
lunny:bhalbright/graphql-poc
lunny:sapk-fork/limit-repo-size
lunny:a1012112796/pr_template_enhancement
lunny:0xC4N1/copyable-line-numbers
lunny:M4RKUS-11111/add_steam
lunny:alvardes/revisions
lunny:ibpl/master-IB#1104925
lunny:ibpl/master-IB#1105071
lunny:adelowo/show_commit_diffs_btw_current_branch_and_master
lunny:zeripath/show-storage-configuration-on-admin-configuration-page
lunny:6543-forks/api-add-reaction-summary
lunny:ibpl/master-IB#1105104
lunny:zeripath/fix-916-go-camo-media-proxy
lunny:lunny/lunny/github_projects
lunny:mvdkleijn/limit-private-repos
lunny:a1012112796/table_name_prefix
lunny:foxy82/patch-1
lunny:TheoLassonder/master
lunny:release/v1.11
lunny:silverwind/rmtheme
lunny:techknowlogick/cdb-support
lunny:zeripath/apply-patch
lunny:guillep2k/user-repo-unit
lunny:zeripath/queues-notification
lunny:release/v1.10
lunny:guillep2k/backport-migration
lunny:jolheiser/loading-button
lunny:mqudsi/attachment_allow_prefix
lunny:lafriks-fork/feat/priority
lunny:Cherrg/gitea_md_wiki_auto_toc
lunny:release/v1.9
lunny:strk/local-source-oauth-users
lunny:gary-kim/security/noid/require-login-for-non-existent-repo
lunny:lunny/lunny/support_hsts
lunny:Cherrg/wiki_directories
lunny:Cherrg/gitea_wiki_page_toc
lunny:release/v1.8
lunny:coolaj86/ux-register-is-signin
lunny:AlexanderBeyn/custom-regexp-external-issues
lunny:ollien/pr-branch-links
lunny:Codeberg-org/global-wiki-edit
lunny:lunny/lunny/private_repo_public_units
lunny:beeonthego/beeonthego-jwt-ui
lunny:lunny/lunny/dump_restore
No reviewers
Labels
Clear labels
Pull requests that update a dependency file
Likely to be an easy fix
features for moderateing spam, abuse, ...
An issue that is caused by an upstream dependency
Performance Issues affecting Big Repositories
Performance issues affecting memory use
performance issues with slow downs
Issue has been reviewed and confirmed to be present or accepted to be implemented
A fix for this issue is already in the attached milestone
The reported issue is the intended behavior
Docker themed issued
Migration issues
backport/done
backport/v1.0
backport/v1.1
backport/v1.10
backport/v1.11
backport/v1.12
backport/v1.13
backport/v1.14
backport/v1.15
backport/v1.2
backport/v1.3
backport/v1.4
backport/v1.5
backport/v1.6
backport/v1.7
backport/v1.8
backport/v1.9
bounty
changelog
dependencies
Pull requests that update a dependency file
frontport/done
frontport/main
good first issue
Likely to be an easy fix
Hacktoberfest
hacktoberfest-accepted
in progress
kind/api
kind/breaking
kind/bug
kind/build
kind/deployment
kind/deprecated
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/misc
kind/moderation
features for moderateing spam, abuse, ...
kind/package
kind/proposal
kind/question
kind/refactor
kind/regression
kind/security
kind/summary
kind/testing
kind/translation
kind/ui
kind/upstream-related
An issue that is caused by an upstream dependency
kind/usability
kind/ux
lgtm/done
lgtm/need 1
lgtm/need 2
performance/bigrepo
Performance Issues affecting Big Repositories
performance/cpu
performance/memory
Performance issues affecting memory use
performance/speed
performance issues with slow downs
priority/critical
priority/low
priority/maybe
priority/medium
proposal/rejected
reviewed/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
reviewed/duplicate
reviewed/fixed
A fix for this issue is already in the attached milestone
reviewed/invalid
reviewed/not-a-bug
The reported issue is the intended behavior
reviewed/wontfix
skip-changelog
stale
status/blocked
status/needs-feedback
status/wip
theme/2fa
theme/authentication
theme/avatar
theme/backup-restore
theme/docker
Docker themed issued
theme/federation
theme/issues
theme/kanban
theme/markdown
theme/migration
Migration issues
theme/mobile
theme/pr
theme/signing
theme/sqlite
theme/timetracker
theme/webhook
theme/wiki
No Label
backport/done
backport/v1.0
backport/v1.1
backport/v1.10
backport/v1.11
backport/v1.12
backport/v1.13
backport/v1.14
backport/v1.15
backport/v1.2
backport/v1.3
backport/v1.4
backport/v1.5
backport/v1.6
backport/v1.7
backport/v1.8
backport/v1.9
bounty
changelog
dependencies
frontport/done
frontport/main
good first issue
Hacktoberfest
hacktoberfest-accepted
in progress
kind/api
kind/breaking
kind/bug
kind/build
kind/deployment
kind/deprecated
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/misc
kind/moderation
kind/package
kind/proposal
kind/question
kind/refactor
kind/regression
kind/security
kind/summary
kind/testing
kind/translation
kind/ui
kind/upstream-related
kind/usability
kind/ux
lgtm/done
lgtm/need 1
lgtm/need 2
performance/bigrepo
performance/cpu
performance/memory
performance/speed
priority/critical
priority/low
priority/maybe
priority/medium
proposal/rejected
reviewed/confirmed
reviewed/duplicate
reviewed/fixed
reviewed/invalid
reviewed/not-a-bug
reviewed/wontfix
skip-changelog
stale
status/blocked
status/needs-feedback
status/wip
theme/2fa
theme/authentication
theme/avatar
theme/backup-restore
theme/docker
theme/federation
theme/issues
theme/kanban
theme/markdown
theme/migration
theme/mobile
theme/pr
theme/signing
theme/sqlite
theme/timetracker
theme/webhook
theme/wiki
Milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Clear assignees
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: lunny/gitea#16262
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "feature-gitattributes-checkattr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fixes #12653
close #16250
This PR moves the
.gitattribute
file from the root of the default branch intorepo.git/info/attributes
after every push. The diff supports now thelinguist-generated
keyword and hides these file in the output.?