On Wed, Feb 3, 2021 at 7:01 PM Charvi Mendiratta [off-list ref] wrote:
quoted
quoted
I admit it resulted in a bit of confusion. Here, its true that flag is always
going to be specific enum item( as command can be merge -c, fixup -c, or
fixup -C ) and I combined the bag of bits to denote
the specific enum item. So, maybe we can go with the first method?
Sounds fine. It would clarify the intent.
(Apology for confusion) After, looking again at the source code, as we are using
the flag element of the structure todo_item of in sequencer.h. So, I
think right
way is to let it be in binary only and change type from 'enum todo_item_flag' to
'unsigned' , as you suggested below (better than first method) :
That would be fine, as well. Thanks.