git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should "git apply"'s option "--3way" imply "--index" in option description?
@ 2021-07-30  8:32 lilinchao
  2021-07-30 14:34 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: lilinchao @ 2021-07-30  8:32 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

like this:

diff --git a/apply.c b/apply.c
index 44bc31d6eb..0b353af96c 100644
--- a/apply.c
+++ b/apply.c
@@ -5024,7 +5024,7 @@ int apply_parse_options(int argc, const char **argv,
                OPT_BOOL(0, "apply", force_apply,
                        N_("also apply the patch (use with --stat/--summary/--check)")),
                OPT_BOOL('3', "3way", &state->threeway,
-                        N_( "attempt three-way merge, fall back on normal patch if that fails")),
+                        N_( "attempt three-way merge, fall back on normal patch if that fails(implies --index)")),
                OPT_FILENAME(0, "build-fake-ancestor", &state->fake_ancestor,
                        N_("build a temporary index based on embedded index information")),
                /* Think twice before adding "--nul" synonym to this */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-30 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-30  8:32 Should "git apply"'s option "--3way" imply "--index" in option description? lilinchao
2021-07-30 14:34 ` Junio C Hamano

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).