setup_unpack_trees_porcelain: take the whole options struct as parameter
This is a preparation patch to let setup_unpack_trees_porcelain set show_all_errors itself. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
dc1166e685
commit
e294030fe8
@ -26,7 +26,8 @@ enum unpack_trees_error_types {
|
||||
* Sets the list of user-friendly error messages to be used by the
|
||||
* command "cmd" (either merge or checkout)
|
||||
*/
|
||||
void setup_unpack_trees_porcelain(const char **msgs, const char *cmd);
|
||||
void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
|
||||
const char *cmd);
|
||||
|
||||
struct rejected_paths_list {
|
||||
char *path;
|
||||
|
Reference in New Issue
Block a user