Bug 441412 - Cherrypick does not support no-commit mode
Summary: Cherrypick does not support no-commit mode
Status: CLOSED DUPLICATE of bug 383460
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 3.5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2014-08-08 05:52 EDT by Bert Vingerhoets CLA
Modified: 2016-08-08 05:37 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Vingerhoets CLA 2014-08-08 05:52:52 EDT
jgit does not seem to have an equivalent for cgit cherrypick -n <commit>

I need the -n option in order to be able to squash multiple cherrypicked changes into one single commit in an automated merging scenario.
Comment 1 Robin Rosenberg CLA 2014-08-08 07:37:15 EDT
The API has no-commit in the nightles, but not the CLI.

A workaround is to cherry-pick all the commits you want,
then do a soft reset and commit.
Comment 2 Robin Stocker CLA 2014-08-10 02:50:23 EDT
(In reply to Bert Vingerhoets from comment #0)
> I need the -n option in order to be able to squash multiple cherrypicked
> changes into one single commit in an automated merging scenario.

See https://wiki.eclipse.org/EGit/Contributor_Guide for how to contribute. Shouldn't be too hard, e.g. see Merge in org.eclipse.jgit.pgm (I'm assuming you need this in the JGit CLI).
Comment 3 Sebastian Schuberth CLA 2016-07-28 09:34:37 EDT
This seems to be a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=383460.
Comment 4 Matthias Sohn CLA 2016-08-08 05:37:17 EDT

*** This bug has been marked as a duplicate of bug 383460 ***