1
0
Fork 0
forked from forgejo/forgejo

Display human-readable text instead of cryptic filemodes (#26352) (#26358)

Backport #26352

Now, you don't need to be a git expert anymore to know what these numbers mean.

## Before

![grafik](9a964bf6-10fd-40a6-aeb2-ac8f437f8c32)

## After

![grafik](84573cb9-55b6-4dde-9866-95f71b657554)

or when the mode actually changed:

![grafik](0f327538-ebdc-40e7-8c99-f9e21b67f638)
This commit is contained in:
delvh 2023-08-06 23:15:01 +02:00 committed by GitHub
parent 9aadc25bc1
commit 39cbca0f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 2 deletions

View file

@ -3474,3 +3474,12 @@ need_approval_desc = Need approval to run workflows for fork pull request.
type-1.display_name = Individual Project
type-2.display_name = Repository Project
type-3.display_name = Organization Project
[git.filemode]
changed_filemode = %[1]s → %[2]s
# Ordered by git filemode value, ascending. E.g. directory has "040000", normal file has "100644", …
directory = Directory
normal_file = Normal file
executable_file = Executable file
symbolic_link = Symbolic link
submodule = Submodule