Skip to content

Commit f240918

Browse files
committed
rebase: fix typoes in error messages
The separator between words in a multi-word option name is a dash, not an underscore. Inspired by a matching change by Ralf Thielow for the scripted version of "git rebase". Signed-off-by: Junio C Hamano <[email protected]>
1 parent b361bd7 commit f240918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/rebase.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,15 +1136,15 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
11361136
* git-rebase.txt caveats with "unless you know what you are doing"
11371137
*/
11381138
if (options.rebase_merges)
1139-
die(_("error: cannot combine '--preserve_merges' with "
1139+
die(_("error: cannot combine '--preserve-merges' with "
11401140
"'--rebase-merges'"));
11411141

11421142
if (options.rebase_merges) {
11431143
if (strategy_options.nr)
1144-
die(_("error: cannot combine '--rebase_merges' with "
1144+
die(_("error: cannot combine '--rebase-merges' with "
11451145
"'--strategy-option'"));
11461146
if (options.strategy)
1147-
die(_("error: cannot combine '--rebase_merges' with "
1147+
die(_("error: cannot combine '--rebase-merges' with "
11481148
"'--strategy'"));
11491149
}
11501150

0 commit comments

Comments
 (0)