[dolphin] [Bug 413870] New: Wrong git status determination
Maciej Dems
bugzilla_noreply at kde.org
Wed Nov 6 09:14:59 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=413870
Bug ID: 413870
Summary: Wrong git status determination
Product: dolphin
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: plugins: git
Assignee: sebastian at sebastian-doerner.de
Reporter: macdems at gmail.com
CC: kfm-devel at kde.org
Target Milestone: ---
Created attachment 123747
--> https://bugs.kde.org/attachment.cgi?id=123747&action=edit
Patch fixing the reported issue
Sometimes, for large repositories the status is messed up (which in unlucky
case cases `Commit..` command to disappear).
The reason tho this is that `FileViewGitPlugin::beginRetrieval` method cannot
correctly parse the `git status` output. The reason for this is that
`FileViewGitPlugin::readUntilZeroChar` does not return complete entry, because
it is not provided fast enough.
I have made a patch that fixes this issue (see attachment). The idea is to
allow the `FileViewGitPlugin::readUntilZeroChar` to wait for the remaining
data.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list