Bug 284651 - Dolphin's git plugin shows wrong version states with recent git versions
Summary: Dolphin's git plugin shows wrong version states with recent git versions
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Dörner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 22:02 UTC by Sebastian Dörner
Modified: 2011-12-29 19:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Dörner 2011-10-21 22:02:53 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The git plugin parses the output of "git status", but the messages printed by git have changed in recent versions. It should be switched to using the persistent mode "git --porcelain -z".

Reproducible: Always

Steps to Reproduce:
Use recent git version, show git directory content.

Actual Results:  
Wrong version states.

Expected Results:  
Correct version states.
Comment 1 Sebastian Dörner 2011-12-29 19:09:01 UTC
SVN commit 1270897 by doerner:

Use --porcelain mode for parsing git status, which was introduced by a (more or less) recent git version. This should be a stable interface now.

As we can easily get ignored files this way, the map now contains all but the NormalVersion stated files.

FIXED-IN: 4.8


 M  +65 -90    fileviewgitplugin.cpp  
 M  +9 -1      fileviewgitplugin.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1270897
Comment 2 Sebastian Dörner 2011-12-29 19:22:36 UTC
SVN commit 1270899 by doerner:

Backport of commit 1270897.

Related: bug 267513
FIXED-IN: 4.8


 M  +65 -90    fileviewgitplugin.cpp  
 M  +9 -1      fileviewgitplugin.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1270899