pyqtgraph/pyqtgraph — pull request #93 by welshjf (2014-08-24 22:53:12+00:00)
Title: Fix getGitVersion showing a clean repo as modified

``split('\n')`` on an empty string results in a list containing an empty string, not an empty list. This causes the version (``python setup.py --version``) to have a "+" at the end, even when the tree is clean.

Using ``--porcelain`` additionally protects against things like user color settings.