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.
Commenti recenti
7 settimane 4 giorni fa
7 settimane 4 giorni fa
7 settimane 5 giorni fa
24 settimane 1 giorno fa
28 settimane 19 ore fa
28 settimane 19 ore fa
28 settimane 19 ore fa
1 anno 38 settimane fa
1 anno 42 settimane fa
1 anno 42 settimane fa