Skip to content

Conversation

@rettichschnidi
Copy link
Contributor

By sorting the lines alphabetically, conflicts can be reduced. This (partially) replaces #76674.

Background

For a while now, I am working on support for a new SoC. Often, when rebasing my WIP branch on the most recent main, conflicts happen because everyone adds new drivers at the bottom. By biting the bullet now, this kind of conflict can (most of the time) be avoided in the future.

@rettichschnidi rettichschnidi mentioned this pull request Oct 3, 2024
@rettichschnidi rettichschnidi marked this pull request as ready for review October 3, 2024 23:19
@zephyrbot zephyrbot added the area: UART Universal Asynchronous Receiver-Transmitter label Oct 3, 2024
@zephyrbot zephyrbot requested a review from dcpleung October 3, 2024 23:20
Copy link
Member

@dcpleung dcpleung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the commit message should be about what is being done, in this case, sorting the cmake and kconfig. Simply saying "prevent conflicts" is not going to help others looking at the commit message.

By sorting the lines alphabetically, merge conflicts can be reduced.

Signed-off-by: Reto Schneider <[email protected]>
@rettichschnidi rettichschnidi force-pushed the gardena/rs/upstream/sim3u-sort-lines-serial branch from 99fc56b to 582c990 Compare October 4, 2024 00:40
@rettichschnidi rettichschnidi changed the title drivers: serial: Prevent conflicts drivers: serial: Sort CMake and Kconfig files alphabetically Oct 4, 2024
Copy link
Member

@henrikbrixandersen henrikbrixandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nashif nashif merged commit f81c1de into zephyrproject-rtos:main Oct 22, 2024
24 checks passed
@rettichschnidi rettichschnidi deleted the gardena/rs/upstream/sim3u-sort-lines-serial branch October 23, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: UART Universal Asynchronous Receiver-Transmitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants