diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-01-03 11:20:30 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-03 16:17:03 -0800 |
commit | bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0 (patch) | |
tree | 45b5546f930e9f3836637f996bb3d4c39ca80e9f /bisect.c | |
parent | b7fcb582e53cf2b3600263afa08cf4dce49a13f7 (diff) | |
download | git-bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0.tar.gz |
Use warning function instead of fprintf(stderr, "Warning: ...").
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
-rw-r--r-- | bisect.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -813,11 +813,11 @@ static void handle_skipped_merge_base(const unsigned char *mb) char *bad_hex = sha1_to_hex(current_bad_sha1); char *good_hex = join_sha1_array_hex(&good_revs, ' '); - fprintf(stderr, "Warning: the merge base between %s and [%s] " + warning("the merge base between %s and [%s] " "must be skipped.\n" "So we cannot be sure the first bad commit is " "between %s and %s.\n" - "We continue anyway.\n", + "We continue anyway.", bad_hex, good_hex, mb_hex, bad_hex); free(good_hex); } |