Re: [PATCH 14/14] pull --rebase: error on no merge candidate cases
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 19, 2015, 16:27 UTC
- Message-ID
- <xmqqoalg8re2.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <5fcd2fa185fab4c64939ad09eb10e6d5@www.dscho.org>
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 8 quoted lines
>>> - fprintf(stderr,
>>> - _("There are no candidates for merging among the refs that you just fetched.\n"
>>> - "Generally this means that you provided a wildcard refspec which had no\n"
>>> - "matches on the remote end.\n"));
>>> + if (opt_rebase)
>>> + fputs(_("There is no candidate for rebasing against among the refs that you just fetched."), stderr);
>>
> The puts() function appends a <newline> while fputs() does not.Yup, so this update makes the command spew unterminated lines, which not something intended...