Re: [PATCH v3][GSOC] fsck: use bitwise-or assignment operator to set flag

2014-03-20 Thread Hiroyuki
Junio and Eric, Thank you for the reviews and helpful advice. I should have read more past commit messages before send patch. Regards, 2014-03-21 3:20 GMT+09:00 Junio C Hamano : > Hiroyuki Sano writes: > >> fsck_tree() has two different ways to set a flag, >> which are the followings: >> >>

Re: [PATCH v3][GSOC] fsck: use bitwise-or assignment operator to set flag

2014-03-20 Thread Junio C Hamano
Junio C Hamano writes: > In other words, "it is brief and to the point" merely _allows_ these > statements to be expressed in the latter form; it does not say > anything about which is better between the former and the latter. In any case, that is a minor point. I'll queue the patch on 'pu', wi

Re: [PATCH v3][GSOC] fsck: use bitwise-or assignment operator to set flag

2014-03-20 Thread Junio C Hamano
Hiroyuki Sano writes: > fsck_tree() has two different ways to set a flag, > which are the followings: > > 1. Using a if-statement that guards assignment. > > 2. Using a bitwise-or assignment operator. > > Currently, many with the former way, > and one with the latter way. > > In this patch, u

[PATCH v3][GSOC] fsck: use bitwise-or assignment operator to set flag

2014-03-19 Thread Hiroyuki Sano
fsck_tree() has two different ways to set a flag, which are the followings: 1. Using a if-statement that guards assignment. 2. Using a bitwise-or assignment operator. Currently, many with the former way, and one with the latter way. In this patch, unify them to the latter way, because it ma