Merge branch 'jc/rebase-in-c-5-test-typofix'
Typofix. * jc/rebase-in-c-5-test-typofix: rebase: fix typoes in error messages
This commit is contained in:
		| @ -1216,15 +1216,15 @@ int cmd_rebase(int argc, const char **argv, const char *prefix) | |||||||
| 		 *       git-rebase.txt caveats with "unless you know what you are doing" | 		 *       git-rebase.txt caveats with "unless you know what you are doing" | ||||||
| 		 */ | 		 */ | ||||||
| 		if (options.rebase_merges) | 		if (options.rebase_merges) | ||||||
| 			die(_("error: cannot combine '--preserve_merges' with " | 			die(_("error: cannot combine '--preserve-merges' with " | ||||||
| 			      "'--rebase-merges'")); | 			      "'--rebase-merges'")); | ||||||
|  |  | ||||||
| 	if (options.rebase_merges) { | 	if (options.rebase_merges) { | ||||||
| 		if (strategy_options.nr) | 		if (strategy_options.nr) | ||||||
| 			die(_("error: cannot combine '--rebase_merges' with " | 			die(_("error: cannot combine '--rebase-merges' with " | ||||||
| 			      "'--strategy-option'")); | 			      "'--strategy-option'")); | ||||||
| 		if (options.strategy) | 		if (options.strategy) | ||||||
| 			die(_("error: cannot combine '--rebase_merges' with " | 			die(_("error: cannot combine '--rebase-merges' with " | ||||||
| 			      "'--strategy'")); | 			      "'--strategy'")); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Junio C Hamano
					Junio C Hamano