Display file mode changes #10306

Closed
opened 2025-11-02 09:03:46 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @delvh on GitHub (Feb 20, 2023).

Feature Description

Git stores two possible file modes: not executable and executable (AFAIK) when enabled (git config core.fileMode [true|false]).
Sometimes, a commit (and then subsequently a PR) changes the file mode of a file.
At the moment, the user is not informed that the file mode has changed, instead they see that a file inside the changed files without any changes (assuming no other changes).
If (and only if) this mode has been changed, the new (and old) mode should be shown for this file of the PR/ commit you are viewing.
At the moment, this is also a point of error as a changed file mode won't be noticed in a PR, thus potentially leading to subsequent client-side errors.

Screenshots

No response

Originally created by @delvh on GitHub (Feb 20, 2023). ### Feature Description Git stores two possible file modes: not executable and executable (AFAIK) when enabled (`git config core.fileMode [true|false]`). Sometimes, a commit (and then subsequently a PR) changes the file mode of a file. At the moment, the user is not informed that the file mode has changed, instead they see that a file inside the changed files without any changes (assuming no other changes). If (and only if) this mode has been changed, the new (and old) mode should be shown for this file of the PR/ commit you are viewing. At the moment, this is also a point of error as a changed file mode won't be noticed in a PR, thus potentially leading to subsequent client-side errors. ### Screenshots _No response_
GiteaMirror added the type/feature label 2025-11-02 09:03:46 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10306