[PATCH] git-rebase.sh: fix typo

Subsystems: the rest

DORMANTno replies

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

[PATCH] git-rebase.sh: fix typo

From: Ralf Thielow <hidden>
Date: 2016-06-15 22:54:24

Fix a typo in the error messages which is
shown if it seems that a rebase is already
in progress.

Signed-off-by: Ralf Thielow <redacted>
---
 git-rebase.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-rebase.sh b/git-rebase.sh
index 0e6fd09..15da926 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -348,7 +348,7 @@ then
 	cmd_clear_stale_rebase="rm -fr \"$state_dir\""
 	die "
 $(eval_gettext 'It seems that there is already a $state_dir_base directory, and
-I wonder if you ware in the middle of another rebase.  If that is the
+I wonder if you are in the middle of another rebase.  If that is the
 case, please try
 	$cmd_live_rebase
 If that is not the case, please
-- 
1.7.12.rc1

Re: [PATCH] git-rebase.sh: fix typo

From: Jiang Xin <hidden>
Date: 2016-06-15 22:54:24

2012/8/2 Ralf Thielow [off-list ref]:
 $(eval_gettext 'It seems that there is already a $state_dir_base directory, and
-I wonder if you ware in the middle of another rebase.  If that is the
+I wonder if you are in the middle of another rebase.  If that is the
It's my fault in commit c7108b. I am curious how this happened, and find out
that it comes from my copy/paste from code review this post:
http://thread.gmane.org/gmane.comp.version-control.git/202010/focus=202048

If I did a more careful diff, especially word-diff, might find it earlier.

     $ git show --word-diff c7108b | head -122 | tail -1
     I wonder if you [-are-]{+ware+} in the middle of another rebase.
If that is the

-- 
Jiang Xin

Re: [PATCH] git-rebase.sh: fix typo

From: Ralf Thielow <hidden>
Date: 2016-06-15 22:54:24

On Wed, Aug 1, 2012 at 7:09 PM, Ralf Thielow [off-list ref] wrote:
 $(eval_gettext 'It seems that there is already a $state_dir_base directory, and
-I wonder if you ware in the middle of another rebase.  If that is the
+I wonder if you are in the middle of another rebase.  If that is the
 case, please try
After looked at it again, I've noticed that there are also two whitespace
characters after the sentence (same on another sentence in this message).
I don't think that we need another patch for that, though, but it should be
fixed when the message gets changed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help