Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Excluding cherry-pick pairs from branch diff output

Hi!
 
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.
 
Thank you!
 
Attila
 
--cherry-pick
           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.

Back to the top