Re: [RFC] Terms to add to glossary

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

Re: [RFC] Terms to add to glossary

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:25

Jakub Narebski [off-list ref] writes:
cherry picking:: 
        In SCM jargon, cherry picking is used to describe the action of 
        selecting which commit should be ported from one branch to another. 
        In GIT it means given one existing commit, apply the change 
        the patch introduces, and record a new commit that records it.
I am not sure what the focus of the above description is.  I
myself got more confused after reading it than before ;-).  My
impression was that we have been using the word "cherry-pick" in
pretty standard way, but are you trying to stress that we use
the word in a different sense?

"Action of selecting" is done by the user, perhaps with or
without help from the tool.  After deciding which one to "port",
the way to perform the actual "port" would be different from SCM
to SCM, and in GIT it is often done with the "git-cherry-pick"
command.  Are you saying the command is misnamed, and we should
call a program that helps the user in "action of selecting"
cherry-pick (actually, I think "git cherry" fits that
description)?

If the focus is not to highlight the distinction but to help the
end user, something like this might be better.

cherry-picking::
	In SCM jargon, "cherry pick" means to choose a subset of
	changes out of a series of changes (typically commits)
	and record them as a separate series of changes on top
	of different codebase.  In GIT, this is performed by
	"git cherry-pick" command to extract the change
	introduced by an existing commit and to record it based
	on the tip of the current branch as a new commit.

Re: [RFC] Terms to add to glossary

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:25

Junio C Hamano wrote:
cherry-picking::
      In SCM jargon, "cherry pick" means to choose a subset of
      changes out of a series of changes (typically commits)
      and record them as a separate series of changes on top
      of different codebase.  In GIT, this is performed by
      "git cherry-pick" command to extract the change
      introduced by an existing commit and to record it based
      on the tip of the current branch as a new commit.
That's better.

-- 
Jakub Narebski
Warsaw, Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help