From: Junio C Hamano <gitster@pobox.com>
To: Evan Phoenix <evan@fallingsnow.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] A more sensible error message why 'git rebase --continue' failed
Date: Sun, 19 Aug 2007 23:25:45 -0700 [thread overview]
Message-ID: <7vzm0m90ye.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <11875724181583-git-send-email-evan@fallingsnow.net> (Evan Phoenix's message of "Sun, 19 Aug 2007 18:13:38 -0700")
Evan Phoenix <evan@fallingsnow.net> writes:
> The current message is a bit cryptic, indicating that only
> changes which contained merge conflicts should be added to the
> index, but in fact, all outstanding changes must be.
That might be true, and we might want a better yet still concise
wording for the suggestion.
Your wording, however, would lead a new user to run "git add"
even before resolving the conflicts, and then make him complain
"why doesn't git do that for me", and then again complain "gaah,
I followed the suggestion and ended up committing garbage with
funny <<< === >>> lines in it".
So in that sense, I do not necessarily see _your_ new wording an
improvement.
> @@ -135,8 +135,12 @@ do
> case "$1" in
> --continue)
> git diff-files --quiet || {
> - echo "You must edit all merge conflicts and then"
> - echo "mark them as resolved using git add"
> + echo "Unable to continue rebase:"
> + echo " All modified files must be added to index first."
Also I see whitespace breackages here --- did you intend to
replace tabs with spaces, and if so why?
next prev parent reply other threads:[~2007-08-20 6:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 1:13 [PATCH] A more sensible error message why 'git rebase --continue' failed Evan Phoenix
2007-08-20 6:25 ` Junio C Hamano [this message]
2007-08-20 7:10 ` Evan Phoenix
2007-08-20 13:59 ` Steven Grimm
2007-08-20 9:35 ` Johannes Sixt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vzm0m90ye.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=evan@fallingsnow.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).