Bug 479502 - "Auto reload files in version control" setting does not work with "git reset --hard HEAD"
Summary: "Auto reload files in version control" setting does not work with "git reset ...
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.113.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-07 14:51 UTC by george fb
Modified: 2024-01-07 14:51 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 george fb 2024-01-07 14:51:00 UTC
SUMMARY
`git reset --hard HEAD` deletes and creates a new file so `Auto reload files in version control` doesn't work.

STEPS TO REPRODUCE
1. Open git project in Kate (righ click folder and open in Kate)
2. Open files
3. Edit and save the files
4. `git reset --hard HEAD`
5. Go back to Kate

OBSERVED RESULT
Inline mesage appears telling me the files changed and asking what to do

EXPECTED RESULT
Files are reloaded

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240104
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.9-1-default (64-bit)
Graphics Platform: Wayland