After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 448527 - Multiple File Patch
Multiple File Patch
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
: 474565 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-17 16:33 UTC by Petr
Modified: 2017-12-13 18:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Petr 2007-06-17 16:33:08 UTC
It would be nice to have possibility to save differences in opened pair of files as a patch file (in format of the "diff --unified").

Optionally user would be able to select pairs whose differences will be saved to patch file.

Use-case ):
1) User has opened several pairs of files for comparison and wants to save patch file.
2) Goes to menu File, Save As Patch... and window appears.
3) User checks/unchecks checkboxes of pairs he does not want to inculude in patch file.
4) User selects file name of the patch.
Comment 1 Stephen Kennedy 2007-06-17 22:04:39 UTC
You can already save a patch from the filediff context menu.

There is no UI for a multiple file patch however.
Comment 2 Petr 2007-06-25 20:56:39 UTC
You are right Stephen. I did not notice that single-file-patch ability is in context menu. (Perhaps its worth adding it to "File" menu too.)

Still, we have no capability to produce patch of multiple files at once. People often do patches with entire directories, or with most of their files. I suggest to add menu item (context menu, menu "File" or both) which would produce patch:
a) for currently focused filediff or
b) for selected files in currently focused directory comparison

(I would leave out support for producing patch of all open filediffs or for user-selectable open filediffs - user would have to have directory comparison tab.)
Comment 3 Kai Willadsen 2010-10-10 20:21:33 UTC
*** Bug 474565 has been marked as a duplicate of this bug. ***
Comment 4 Kai Willadsen 2010-10-10 20:25:42 UTC
I've just pushed some changes that improve the patch dialogue. We now allow for patches between selected files in a three-way comparison and reverse patches. The patch creation UI has also been moved from the context menu to the main File menu, to make it easier to find.

As we're still missing whole-of-directory (or version-control based) patch creation, I'm leaving this bug open.
Comment 5 GNOME Infrastructure Team 2017-12-13 18:49:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/14.