Bug 447778 - Kompare saves an empty patch file
Summary: Kompare saves an empty patch file
Status: REPORTED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 4.1.21120
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-01 14:53 UTC by Christopher Yeleighton
Modified: 2022-02-27 16:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2022-01-01 14:53:59 UTC
SUMMARY
Kompare saves an empty patch file

STEPS TO REPRODUCE
1. { echo 1 > 1; } 
2. { echo '1
2' > 2; }
3. Tell Kompare to compare source file 1 to destination file 2.
4. Tell Kompare to save { diff -U 3 -- 1 2; } as patch file 2.diff.
5. Tell Kompare to open patch file 2.diff.

OBSERVED RESULT
The file 2.diff is invalid.

EXPECTED RESULT
The file 2.diff shall be valid.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed 20211228
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-01-24 23:12:51 UTC
Can not reproduce, can you attach the 2.diff file you get?
Comment 2 Bug Janitor Service 2022-02-08 04:37:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Christopher Yeleighton 2022-02-12 18:48:03 UTC
There is no need to attach, every empty file is the same.
Comment 4 Bug Janitor Service 2022-02-27 04:36:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Christopher Yeleighton 2022-02-27 16:07:41 UTC
(In reply to Albert Astals Cid from comment #1)
> Can not reproduce, can you attach the 2.diff file you get?

I cannot attach an empty file here, Bugzilla does not support it.