gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Render xlsx same as docx

Open robertschulze opened this issue 1 year ago • 2 comments

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

robertschulze avatar May 17 '24 06:05 robertschulze

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

eeyrjmr avatar May 17 '24 07:05 eeyrjmr

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

silverwind avatar May 17 '24 10:05 silverwind