When submitting a patch for review we want our readers/reviewers to be able to read it as easily as possible, and when you make changes to code involving some definitions in a header file you definitely want header files to be listed first in the patch, so that the reader can follow the changes to the code logic knowing already the new definitions.
Changing the order of files in a patch can be done very easily using the -Oorderfile
option offered by some git commands.
Recent comments
1 day 2 hours ago
27 weeks 3 days ago
42 weeks 11 min ago
42 weeks 13 min ago
42 weeks 2 hours ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago
2 years 20 weeks ago