]> source.dussan.org Git - gitea.git/commit
Display human-readable text instead of cryptic filemodes (#26352)
authordelvh <dev.lh@web.de>
Sun, 6 Aug 2023 19:52:34 +0000 (21:52 +0200)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2023 19:52:34 +0000 (21:52 +0200)
commit8736b134bd044f81de6ad3a3fb562b2e0e4de213
tree68c282330812e1f512a3ac9cb0a1515c8321295d
parentc1c83dbaec840871c1247f4bc3f875309b0de6bb
Display human-readable text instead of cryptic filemodes (#26352)

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

## Before

![grafik](https://github.com/go-gitea/gitea/assets/51889757/9a964bf6-10fd-40a6-aeb2-ac8f437f8c32)

## After

![grafik](https://github.com/go-gitea/gitea/assets/51889757/84573cb9-55b6-4dde-9866-95f71b657554)

or when the mode actually changed:

![grafik](https://github.com/go-gitea/gitea/assets/51889757/0f327538-ebdc-40e7-8c99-f9e21b67f638)
options/locale/locale_en-US.ini
services/gitdiff/gitdiff.go
templates/repo/diff/box.tmpl