Re: [PATCHv3 7/7] grep: honor --textconv for the case rev:path

2013-05-10 Thread Junio C Hamano
Junio C Hamano writes: > Michael J Gruber writes: > >> diff --git a/object.h b/object.h >> index 97d384b..695847d 100644 >> --- a/object.h >> +++ b/object.h >> @@ -13,6 +13,7 @@ struct object_array { >> struct object *item; >> const char *name; >> unsigned

Re: [PATCHv3 7/7] grep: honor --textconv for the case rev:path

2013-05-10 Thread Junio C Hamano
Michael J Gruber writes: > diff --git a/object.h b/object.h > index 97d384b..695847d 100644 > --- a/object.h > +++ b/object.h > @@ -13,6 +13,7 @@ struct object_array { > struct object *item; > const char *name; > unsigned mode; > + struct obje

[PATCHv3 7/7] grep: honor --textconv for the case rev:path

2013-05-10 Thread Michael J Gruber
Make "grep" honor the "--textconv" option also for the object case, i.e. when used with an argument "rev:path". Signed-off-by: Michael J Gruber --- builtin/grep.c | 11 ++- object.c | 26 -- object.h | 2 ++ t/t7008-grep-binary