Skip to content

treat .rtf files as binary so EOL don't get changed - #5020

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:gitattributes
Oct 5, 2017
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:gitattributes

Conversation

@SteveL-MSFT

Copy link
Copy Markdown
Member

with the change in .gitattributes, this file was being treated as text so git on Linux kept trying to autocorrect the EOL to LF (thus showing up as a modified file). Since this file is primarily used in our .msi pkg on Windows, we should retain CRLF EOL. updated .gitattributes to treat .rtf files as binary.

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit b7f3dfe into PowerShell:master Oct 5, 2017
@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the gitattributes branch October 5, 2017 23:02
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
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.

3 participants