Re: [RFH/PATCH 4/4] OPT__FORCE(): clarify its expected use by using OPT_COUNTUP

2013-08-07 Thread Stefan Beller
On 08/07/2013 01:31 AM, Junio C Hamano wrote: The parseopt parsing for OPT__FORCE() is implemented in terms of OPT_BOOLEAN() and users of it can take advantage of the counting up behaviour to implement increasing levels of forcefulness by differentiating git cmd -f and git cmd -f -f.

Re: [RFH/PATCH 4/4] OPT__FORCE(): clarify its expected use by using OPT_COUNTUP

2013-08-07 Thread Junio C Hamano
Stefan Beller stefanbel...@googlemail.com writes: On 08/07/2013 01:31 AM, Junio C Hamano wrote: The parseopt parsing for OPT__FORCE() is implemented in terms of OPT_BOOLEAN() and users of it can take advantage of the counting up behaviour to implement increasing levels of forcefulness by

[RFH/PATCH 4/4] OPT__FORCE(): clarify its expected use by using OPT_COUNTUP

2013-08-06 Thread Junio C Hamano
The parseopt parsing for OPT__FORCE() is implemented in terms of OPT_BOOLEAN() and users of it can take advantage of the counting up behaviour to implement increasing levels of forcefulness by differentiating git cmd -f and git cmd -f -f. Clarify this by explicitly using OPT_COUNTUP() instead.