Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for git cherry pick to apply a commit to 2 or more parallel branches at once #84

Open
kirkilj opened this issue May 16, 2020 · 1 comment

Comments

@kirkilj
Copy link

kirkilj commented May 16, 2020

We often need to maintain documentation for every release of our software products that are under active support agreements. Certain changes to a topic, image, or map need to be made to several active releases of the documentation. Advanced writers have adopted the use of git cherry pick through Tortoise git to apply one or more commits from the current branch to several others.

Would it be possible for the commit interface to offer a configurable advanced option to apply the entered commit+message to a selection of branches and perform the cherrypicks in the background?

If it's not something you'd prefer to bake into the add-on, is there a way for us to use the SDK to create a listener for a commit being attempted through the add-on?

@sorincarbunaru
Copy link
Collaborator

Hi John,

I see you forked the Git Client project... Would it be an option for you to extend your forked Git Client so that it performs the multiple cherry pick? If yes, you could take a look at "com.oxygenxml.git.service.GitAccess.commit(String, boolean)", as it fires a "state-changed" event after the commit is performed, and you could use that notification for your purposes.

Best wishes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants