Re: [PATCH v6] [GSOC] cherry-pick: use better advice message

2 messages, 2 authors, 2021-08-21 · open the first message on its own page

Re: [PATCH v6] [GSOC] cherry-pick: use better advice message

From: Junio C Hamano <hidden>
Date: 2021-08-19 17:10:22

"ZheNing Hu via GitGitGadget" [off-list ref] writes:
          Mentored-by: Christian Couder [off-list ref]
     -    Mentored-by Hariom Verma [off-list ref]:
     +    Mentored-by Hariom Verma [off-list ref]
I think you meant to move ':' not remove it.
+		else if (opts->action == REPLAY_PICK)
+			advise(_("Resolve all conflicts manually, mark them as resolved with\n"
Do we need to say "manually"?  Dropping the word would make the
message more concise.  Not repeating the word "resolve" by saying
something like "after resolving the conflicts, mark them with ..."
would probably be a much better phrasing, too.
+				 "\"git add/rm <conflicted_files>\", then run\n"
<paths> (or <pathspec>) not <conflicted_files>; you can resolve many
files in a directory and give the pathspec to match the directory to
mark all the files in there as resolved.
+				 "\"git cherry-pick --continue\".\n"
+				 "You can instead skip this commit: run \"git cherry-pick --skip\".\n"
Inconsistent use of prose in the above and ": run" here.

        You can instead skip this commit with "git cherry-pick --skip"
+		else if (opts->action == REPLAY_REVERT)
Likewise.

Thanks.

Re: [PATCH v6] [GSOC] cherry-pick: use better advice message

From: ZheNing Hu <hidden>
Date: 2021-08-21 01:40:39

Junio C Hamano [off-list ref] 于2021年8月20日周五 上午1:10写道:
quoted
+             else if (opts->action == REPLAY_PICK)
+                     advise(_("Resolve all conflicts manually, mark them as resolved with\n"
Do we need to say "manually"?  Dropping the word would make the
message more concise.  Not repeating the word "resolve" by saying
something like "after resolving the conflicts, mark them with ..."
would probably be a much better phrasing, too.
Yeah. Note the $reslovemsg in git-rebase--preserve-merges.sh, I copied
it from here. Perhaps it is also worth modifying?
quoted
+                              "\"git add/rm <conflicted_files>\", then run\n"
<paths> (or <pathspec>) not <conflicted_files>; you can resolve many
files in a directory and give the pathspec to match the directory to
mark all the files in there as resolved.
Indeed so.
quoted
+                              "\"git cherry-pick --continue\".\n"
+                              "You can instead skip this commit: run \"git cherry-pick --skip\".\n"
Inconsistent use of prose in the above and ": run" here.

        You can instead skip this commit with "git cherry-pick --skip"
quoted
+             else if (opts->action == REPLAY_REVERT)
Likewise.

Thanks.
Thanks.
--
ZheNing Hu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help