Skip to content

Remove use of astextplain#238

Open
hyperupcall wants to merge 2 commits into
gitattributes:masterfrom
hyperupcall:hyperupcall-astexplain
Open

Remove use of astextplain#238
hyperupcall wants to merge 2 commits into
gitattributes:masterfrom
hyperupcall:hyperupcall-astexplain

Conversation

@hyperupcall
Copy link
Copy Markdown
Contributor

@hyperupcall hyperupcall commented Jun 4, 2025

astexplain is a script used in git-for-windows.

Naturally, this means that when the astextplain attribute is used, it will always yield to different results when not everyone is using git-for-windows. Furthermore, adding attributes that converts Microsoft documents, PDFs, etc. to text (for diff views) is non-default. And unexpected behavior, at least in my opinion.

As a side-effect, the attributes for *.rtf are now consistent across Common.gitattributes and Delphi.gitattributes.

Closes #220

@hyperupcall hyperupcall changed the title Remove use of astexplain Remove use of astextplain Jun 4, 2025
@hyperupcall hyperupcall force-pushed the hyperupcall-astexplain branch from 0ae469d to ad7b8af Compare June 4, 2025 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

What does diff=astextplain for *.epub accomplish?

1 participant