Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Documentation: clarify which parameters are optional to git-cherry

An earlier parameter is only optional when all of the later parameters are
omitted.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
commit 3bc52d7a95676bcdeeb61c372b44358daf817baa 1 parent f296802
Markus Heidelberg authored January 01, 2009 gitster committed January 05, 2009
2  Documentation/git-cherry.txt
@@ -7,7 +7,7 @@ git-cherry - Find commits not merged upstream
7 7
 
8 8
 SYNOPSIS
9 9
 --------
10  
-'git cherry' [-v] [<upstream>] [<head>] [<limit>]
  10
+'git cherry' [-v] [<upstream> [<head> [<limit>]]]
11 11
 
12 12
 DESCRIPTION
13 13
 -----------
2  builtin-log.c
@@ -1071,7 +1071,7 @@ static int add_pending_commit(const char *arg, struct rev_info *revs, int flags)
1071 1071
 }
1072 1072
 
1073 1073
 static const char cherry_usage[] =
1074  
-"git cherry [-v] [<upstream>] [<head>] [<limit>]";
  1074
+"git cherry [-v] [<upstream> [<head> [<limit>]]]";
1075 1075
 int cmd_cherry(int argc, const char **argv, const char *prefix)
1076 1076
 {
1077 1077
 	struct rev_info revs;

0 notes on commit 3bc52d7

Please sign in to comment.
Something went wrong with that request. Please try again.