Re: [PATCH 1/4] read-tree: use OPT_BOOL instead of OPT_SET_INT

2017-01-10 Thread Junio C Hamano
Stefan Beller writes: > All occurrences of OPT_SET_INT were setting the value to 1; > internally OPT_BOOL is just that. > > Signed-off-by: Stefan Beller > --- > builtin/read-tree.c | 36 ++-- > 1 file changed, 18 insertions(+), 18 deletions(-) The result is much

[PATCH 1/4] read-tree: use OPT_BOOL instead of OPT_SET_INT

2017-01-09 Thread Stefan Beller
All occurrences of OPT_SET_INT were setting the value to 1; internally OPT_BOOL is just that. Signed-off-by: Stefan Beller --- builtin/read-tree.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/builtin/read-tree.c b/builtin/read-tree.c