patch.c
4.42 KB
-
diff_print: add a new 'print_index' flag when printing diff. · accd7848
Add a new 'print_index' flag to let the caller decide whether or not 'index <oid>..<oid>' should be printed. Since patch id needs not to have index when hashing a patch, it will be useful soon. Signed-off-by: Gregory Herrero <gregory.herrero@oracle.com>
Gregory Herrero committed