Fixed status to find first occurence of .git or .svn in the curdir or above.