[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jgit-dev] Excluding cherry-pick pairs from branch diff output
- From: Petroczi Attila <petroczi@xxxxxxxxxxx>
- Date: Mon, 3 Sep 2018 13:12:27 +0200 (CEST)
- Delivered-to: firstname.lastname@example.org
Is there any way in jgit to exclude the cherry-pick pairs during comparing two branches?
I would like to have the git log option below in jgit also, if possibe.
Omit any commit that introduces the same change as another commit on the “other side” when the set of commits are limited with symmetric difference.
For example, if you have two branches, A and B, a usual way to list all commits on only one side of them is with --left-right (see the example below in the description of the --left-right
option). However, it shows the commits that were cherry-picked from the other branch (for example, “3rd on b” may be cherry-picked from branch A). With this option, such pairs of commits are
excluded from the output.