]> source.dussan.org Git - jgit.git/commit
Do not cherry-pick or revert commit more than once 23/2223/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 10 Jan 2011 07:47:14 +0000 (08:47 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 10 Jan 2011 07:47:14 +0000 (08:47 +0100)
commit2058f9272b33753c695fb57bf9126371d3ab7cec
tree336a62c507cb283d4a8085284f5470c0ad57cf7c
parent7cd812940d25a78f71467ede0b2637211b2a12a1
Do not cherry-pick or revert commit more than once

Instead just return success. In the case that no commit has been
cherry-picked or reverted, just return the old HEAD.

Bug: 333814
Change-Id: I67db2b77b52c43932436d22a8daa5a6556423484
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java