[PATCH 2/2] document new flags
From: Jeff Epler <jepler@unpythonic.net>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
---
Documentation/git-cherry.txt | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-cherry.txt b/Documentation/git-cherry.txt
index 7deefda..100ed69 100644
--- a/Documentation/git-cherry.txt
+++ b/Documentation/git-cherry.txt
@@ -7,7 +7,7 @@ git-cherry - Find commits not merged upstream
SYNOPSIS
--------
-'git cherry' [-v] [<upstream> [<head> [<limit>]]]
+'git cherry' [-v] [-a|-#] [-r] [-d|-D] [<upstream> [<head> [<limit>]]]
DESCRIPTION
-----------
@@ -49,6 +49,18 @@ OPTIONS
-v::
Verbose.
+-a|-#::
+ Abbreviate commit ids to the given number of characters, or 7 for -a
+
+-r::
+ Swap <upstream> and <head>
+
+-d::
+ Only show commits that don't exist in upstream ("+" lines)
+
+-D::
+ Only show commits that do exist in upstream ("-" lines)
+
<upstream>::
Upstream branch to compare against.
Defaults to the first tracked remote branch, if available.
--
1.5.4.3