unpack-trees: print "Aborting" to stderr
display_error_msgs() prints all the errors to stderr already (if any), followed by "Aborting" (if any) to stdout. Make the latter go to stderr instead. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
f696543dad
commit
6f90969ba8
@ -159,7 +159,7 @@ static void display_error_msgs(struct unpack_trees_options *o)
|
||||
string_list_clear(rejects, 0);
|
||||
}
|
||||
if (something_displayed)
|
||||
printf("Aborting\n");
|
||||
fprintf(stderr, "Aborting\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user