'Test unstage_paths() in a subdirectory.'

def test_unstage_paths_subdir(self):

    self.git(u'commit', u'-m', u'initial    commit')
    core.makedirs(u'foo/bar')
    self.touch(u'foo/bar/baz')
    self.git(u'add', u'foo/bar/baz')
    gitcmds.unstage_paths([u'foo'])
    self.model.update_status()
    self.assertTrue((u'foo/bar/baz' in self.model.untracked))
    self.assertTrue((u'foo/bar/baz' not in self.model.staged))
