Merge branch 'mg/more-textconv'
Make "git grep" and "git show" pay attention to --textconv when dealing with blob objects. * mg/more-textconv: grep: honor --textconv for the case rev:path grep: allow to use textconv filters t7008: demonstrate behavior of grep with textconv cat-file: do not die on --textconv without textconv filters show: honor --textconv for blobs diff_opt: track whether flags have been set explicitly t4030: demonstrate behavior of show with textconv
This commit is contained in:
2
object.h
2
object.h
@ -19,6 +19,7 @@ struct object_array {
|
||||
*/
|
||||
char *name;
|
||||
unsigned mode;
|
||||
struct object_context *context;
|
||||
} *objects;
|
||||
};
|
||||
|
||||
@ -91,6 +92,7 @@ int object_list_contains(struct object_list *list, struct object *obj);
|
||||
/* Object array handling .. */
|
||||
void add_object_array(struct object *obj, const char *name, struct object_array *array);
|
||||
void add_object_array_with_mode(struct object *obj, const char *name, struct object_array *array, unsigned mode);
|
||||
void add_object_array_with_context(struct object *obj, const char *name, struct object_array *array, struct object_context *context);
|
||||
|
||||
typedef int (*object_array_each_func_t)(struct object_array_entry *, void *);
|
||||
|
||||
|
Reference in New Issue
Block a user