summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-09-21 09:48:36 +0200
committerJunio C Hamano <gitster@pobox.com>2011-09-21 15:05:53 -0700
commit6f90969ba88ab862806e58abc6b7047afbc64d27 (patch)
treee965256a0bab32edec74558059374926d11562e3 /unpack-trees.c
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0 (diff)
downloadgit-6f90969ba88ab862806e58abc6b7047afbc64d27.tar.gz
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>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index 07f8364244..cad8870720 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -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");
}
/*