gotwarlost/istanbul — pull request #244 by gregpabian (2014-08-19 11:26:32+00:00)
Title: Fixed parent path for relative paths

Fixes #156 - broken filenames while using relative paths. The cause for the problem was that a `dirname` of a root in a relative path is `.` not `/` and since `parent.name` wasn't equal to `__root__/` for files in a root directory, it stripped the first two characters (the length of `./`) off its name.