Skip to content

Conversation

@pcrumley
Copy link
Contributor

Description

@swift-nav/devinfra

This is a minor quality of life improvement for libsbp. It simply makes it so that all *.rs files are treated as text when sent to git diff... even those with unprintable characters.

Some of the autogen'd code in this library's history includes non-printable null characters and those rust files would be treated as binary by git diff prior to this PR.

Risks

There is a chance that by doing this, someone could add a non-printable characters to a *.rs file that wouldn't show up in the git diff rendered by github. I do believe it will show up as changed line though.

@pcrumley pcrumley requested a review from a team as a code owner January 27, 2023 22:20
@pcrumley pcrumley requested a review from notoriaga January 27, 2023 22:21
@pcrumley pcrumley mentioned this pull request Jan 27, 2023
@pcrumley pcrumley merged commit 1e24a64 into master Jan 27, 2023
@pcrumley pcrumley deleted the patrick/add-git-attribute branch January 27, 2023 23:14
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