Skip to contentSkip to conversation

Question regarding patches

DISCUSSION Shraddha Barke 3 participants 3 messages Oct 30, 2015

lore
Share & tools
lore
#0 lore raw

I want to do 2 changes in same header file - 1. Remove unused functions and
2. Remove the function declarations of static functions.
Should I split this up into separate patches considering that it is the same header?

Thanks,

Shraddha

#1 lore raw
Quoted 4 lines · Shraddha Barke

I want to do 2 changes in same header file - 1. Remove unused functions and
2. Remove the function declarations of static functions.
Should I split this up into separate patches considering that it is the same header?

Yes. If the functions seem completely unrelated, you might want to make one patch per function. But if they are similar, they could be done at once.

julia

#2 lore raw
In reply to Shraddha Barke
Quoted 4 lines · Shraddha Barke

I want to do 2 changes in same header file - 1. Remove unused functions and 2. Remove the function declarations of static functions.
Should I split this up into separate patches considering that it is the same header?

Yes, make it a patch series, showing which patch should be applied in which order.

hope this helps,

greg k-h