go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.09k stars 5.32k forks source link

Render xlsx same as docx #31005

Open robertschulze opened 1 month ago

robertschulze commented 1 month ago

Feature Description

Recently, I realized that Gitea is able to track changes in DOCX files by converting to TXT. I think the same would also be extremely helpful for XLSX files by converting to CSV.

Unfortunately I did not find the relevant piece of code that does the DOCX extraction. Otherwise I would have taken a shot at adding it myself. Any help?

Screenshots

Annotation 2024-05-17 084338

eeyrjmr commented 1 month ago

This is a git feature not gitea. Hopefully xlsx is added at some point

https://github.com/git-for-windows/git/releases/tag/v2.5.3.windows.1

silverwind commented 1 month ago

As a workaround, try *.xlsx diff in .gitattributes which should force git to show a text diff.