summaryrefslogtreecommitdiff
path: root/Documentation/rev-list-options.txt
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-03-07 12:31:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-09 21:50:54 (GMT)
commit94f605ec0798a1f494023b72cd0d1f10b7a264f7 (patch)
tree0f9c37f34ffe994226e10e3aa423aa6b22eb057c /Documentation/rev-list-options.txt
parentcb56e3093a1b25e105df44640e2224c8f6e6b893 (diff)
downloadgit-94f605ec0798a1f494023b72cd0d1f10b7a264f7.zip
git-94f605ec0798a1f494023b72cd0d1f10b7a264f7.tar.gz
git-94f605ec0798a1f494023b72cd0d1f10b7a264f7.tar.bz2
log --cherry: a synonym
At the porcelain level, because by definition there are many more contributors than integrators, it makes sense to give a handy short-hand for --right-only used with --cherry-mark and --no-merges. Make it so. In other words, this provides "git cherry with rev-list interface". Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/rev-list-options.txt')
-rw-r--r--Documentation/rev-list-options.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 4755b83..95d209c 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -337,6 +337,14 @@ commits from `B` which are in `A` or are patch-equivalent to a commit in
More precisely, `--cherry-pick --right-only --no-merges` gives the exact
list.
+--cherry::
+
+ A synonym for `--right-only --cherry-mark --no-merges`; useful to
+ limit the output to the commits on our side and mark those that
+ have been applied to the other side of a forked history with
+ `git log --cherry upstream...mybranch`, similar to
+ `git cherry upstream mybranch`.
+
-g::
--walk-reflogs::