* [PATCH] Clarify that git-cherry-pick applies patches to HEAD
@ 2010-06-27 13:52 Robert Spanton
2010-06-27 19:46 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Robert Spanton @ 2010-06-27 13:52 UTC (permalink / raw)
To: git, gitster
Change the description of cherry-pick to state that the given commits
are applied to the current HEAD. It was unclear exactly where
cherry-pick ends up sticking the given commits.
Signed-off-by: Robert Spanton <rspanton@zepler.net>
---
Documentation/git-cherry-pick.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index bcb4c75..2d52445 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -13,8 +13,9 @@ DESCRIPTION
-----------
Given one or more existing commits, apply the change each one
-introduces, recording a new commit for each. This requires your
-working tree to be clean (no modifications from the HEAD commit).
+introduces to the current HEAD, recording a new commit for each.
+This requires your working tree to be clean (no modifications from
+the HEAD commit).
OPTIONS
-------
--
1.7.0.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Clarify that git-cherry-pick applies patches to HEAD
2010-06-27 13:52 [PATCH] Clarify that git-cherry-pick applies patches to HEAD Robert Spanton
@ 2010-06-27 19:46 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2010-06-27 19:46 UTC (permalink / raw)
To: rspanton; +Cc: git
Robert Spanton <rspanton@zepler.net> writes:
> Change the description of cherry-pick to state that the given commits
> are applied to the current HEAD. It was unclear exactly where
> cherry-pick ends up sticking the given commits.
>
> Signed-off-by: Robert Spanton <rspanton@zepler.net>
Almost all commit-creating commands work on nothing but the current HEAD,
and once a reader understands that repeating that "git commit" makes
commit on top of current HEAD, "git am" applies patches on top of current
HEAD, etc. will become excessively noisy, I am afraid.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-27 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-27 13:52 [PATCH] Clarify that git-cherry-pick applies patches to HEAD Robert Spanton
2010-06-27 19:46 ` 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).