Bug 284651

Summary: Dolphin's git plugin shows wrong version states with recent git versions
Product: [Applications] dolphin Reporter: Sebastian Dörner <sebastian>
Component: plugins: gitAssignee: Sebastian Dörner <sebastian>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.8

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