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

Add a branch for formatted sources #15

Open
vityaman opened this issue Sep 20, 2024 · 1 comment
Open

Add a branch for formatted sources #15

vityaman opened this issue Sep 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vityaman
Copy link

Xv6 is poorly formatted and also we want to check our students code formatting before code review to make it more pleasant to read.

Problem is that we can not format actual sources as it will be incompatible changes with the original repository and so we will get a lot of merge conflicts.

But what we can really do is to make a separate branch with formatted sources. The branch will be different from main in an only thing - is that sources clang-format will be formatted. This branch will be updated using force push.

Plan

  • Add a branch named format from main.
  • Add clang-format config to format branch. Can be stolen from algocont.
  • Format sources using clang-format at format.
  • Update format branch.
@vityaman vityaman added the enhancement New feature or request label Sep 20, 2024
@vityaman
Copy link
Author

We decided that students must suffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant