Version: 2.0 (using Devel)
Directory contains ignored file will not shown with "white square" in dolphin.
Steps to Reproduce:
1. init a git repo
2. create .gitignore with *~
3. create a/b, add, and commit
4. create a/b~
5. go to the root of repo
directory "a" will be shown as ignored.
directory "a" shown with correct status
Seems introduced in recent RC, I don't have problem in RC1(? not sure), maybe up to beta.
Thanks for finding this, I'm sorry this bug slipped my inbox. The changes necessary to fix this might be binary incompatible, so perhaps this won't get fixed before 4.9.
Internal note: If we don't want to hack this with a boolean, we'd need to upgrade to KVersionControlPlugin2, because V1 doesn't include IgnoredVersion. This is a good idea anyway, but needs some more work.
SVN commit 1296335 by doerner:
Upgrade interface to KVersionControlPlugin2
M +23 -13 fileviewgitplugin.cpp
M +10 -9 fileviewgitplugin.h
WebSVN link: http://websvn.kde.org/?view=rev&revision=1296335
SVN commit 1296349 by doerner:
Correctly show the version state for directories containing ignored files.
Ignored files do not cause these directories to be shown as Unversioned any more.
Ignored files in the current directory are now also shown in a different color (by marking them as Ignored instead of simply Unversioned).
M +9 -3 fileviewgitplugin.cpp
M +2 -1 fileviewgitplugin.h
WebSVN link: http://websvn.kde.org/?view=rev&revision=1296349