Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-indent all C files to 4 spaces #11

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Re-indent all C files to 4 spaces #11

merged 1 commit into from
Sep 20, 2023

Conversation

elric1
Copy link
Contributor

@elric1 elric1 commented Sep 19, 2023

The idea here is to make things a lot closer to what clang-format produces in a couple of steps so that each patch is easy to evaluate. To review this:

:; git fetch --all
:; git checkout elric1@four-spaces
:; git log -p -b -1

Note that the diff is empty which means that all of the changes are only to whitespace. -b is not greedy as it only considers multiple whitespace to be equivalent to a single space rather than -w which ignores the lot.

@emturner emturner merged commit 59b5928 into main Sep 20, 2023
17 checks passed
@emturner emturner deleted the elric1@four-spaces branch September 20, 2023 08:47
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.

2 participants