Community
Participate
Working Groups
Build Identifier: 0.12.0.201103040915 I want to create a patch in standard format (not git format) from a local commit, then I create one from the history view by taking the last local commit (a commit recording changes from several workspace projects). The generated patch has path relative to project then I can't apply it to a svn working copy (for example). While with the svn team provider we have a option to create/apply a patch to a specific project or to the whole workspace. Reproducible: Always Steps to Reproduce: 1.Create a local git repository with two workspace projects 2.commit changes from these two projects 3.From the history view, create a patch (not git format) from the last commit
I think it would be good to have eGit be able to create workspace patches when a commit spans multiple projects.
Now patches are created relative to the repository's root. Depending on how your projects are setup, you can have the patch wizard ignore some leading segments and get it to apply to multiple projects in one go.
EGit also needs to be able to apply multiple-project patches, which it currently does not do properly (even if I select the "Apply the patch to the workspace root" option in the Apply Patch dialog).
(In reply to comment #3) > EGit also needs to be able to apply multiple-project patches, which it > currently does not do properly (even if I select the "Apply the patch to the > workspace root" option in the Apply Patch dialog). EGit does not let you create workspace patches at the moment. You can probably workaround the problem by truncating leading path segments. This is what I do right now. Though this won't work unless you're generating patches from a recent EGit build (and not the one from Indigo GA).
See also bug 341036.