threads / patch / 40882

patchtypofix for Documentation/git-cherry-pick.txt

Subject: [PATCH] typofix for Documentation/git-cherry-pick.txt

## tl;dr

2 messages between Nov 25, 2015 and Nov 25, 2015. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

bin0515@gmail.com· Nov 25, 2015, 12:05 UTC · lore
From: Bin Chen <chenbin0515@thundersoft.com>
Signed-off-by: Bin Chen <chenbin0515@thundersoft.com>
---
 Documentation/git-cherry-pick.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/git-cherry-pick.txt +1 −1
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index 77da29a..3f44fe0 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -155,7 +155,7 @@ EXAMPLES
 --------
 `git cherry-pick master`::
 
-	Apply the change introduced by the commit at the tip of the
+	Apply the change introduced by the commit at the top of the
 	master branch and create a new commit with this change.
 
 `git cherry-pick ..master`::
-- 
2.5.2
Jeff King· Nov 25, 2015, 12:39 UTC · re: bin0515@gmail.com · lore

Re: [PATCH] typofix for Documentation/git-cherry-pick.txt

On Wed, Nov 25, 2015 at 08:05:11PM +0800, bin0515@gmail.com wrote:
Show 5 quoted lines
>  `git cherry-pick master`::
>  
> -	Apply the change introduced by the commit at the tip of the
> +	Apply the change introduced by the commit at the top of the
>  	master branch and create a new commit with this change.

I don't think this is a typo. We frequently refer to the most recent commit on a branch as the "tip of the branch". Saying "top" is not wrong, but we use "tip" pretty consistently (it does not get its own glossary entry, but see the "branch" entry in "git help glossary").

-Peff

← back to recent threads