Bug 450968 - discard/revert lines and hunks in unstaged Git diffs
Summary: discard/revert lines and hunks in unstaged Git diffs
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-28 15:17 UTC by Be
Modified: 2022-08-29 17:46 UTC (History)
0 users

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 Be 2022-02-28 15:17:05 UTC
Currently there is only an option to discard all changes to an unstaged file when right clicking the file in the file list of the Git view. It would be nice to be able to discard specific lines and hunks within unstaged diffs to give finer control than discarding all changes in the file.
Comment 1 Bug Janitor Service 2022-08-29 06:10:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/864
Comment 2 Christoph Cullmann 2022-08-29 17:46:11 UTC
Git commit d134b7263b7bb0615c6ec12f5169039545f1470d by Christoph Cullmann, on behalf of Waqar Ahmed.
Committed on 29/08/2022 at 17:38.
Pushed by cullmann into branch 'master'.

Git: Add Discard Lines

M  +20   -15   addons/project/gitwidget.cpp
M  +2    -1    addons/project/gitwidget.h

https://invent.kde.org/utilities/kate/commit/d134b7263b7bb0615c6ec12f5169039545f1470d