support for status() in both git and subversion