[ https://jira.codehaus.org/browse/SCM-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317806#comment-317806 ]
Robert Scholte commented on SCM-709: ------------------------------------ My latest commit was https://git-wip-us.apache.org/repos/asf?p=maven-scm.git;a=commitdiff;h=6aff3431817108139d29914dc81d8d2dc53e3c6a The idea is to check for a forward slash at the end. If so, it should be a directory, otherwise a file. But if I switch the lines of {{private boolean isFile( String file )}}, some tests fail. The reason: if a file does not exist, it returns {{false}}, but that's not the same as being a directory. Mark Struberg offered his help within a couple of weeks to check if the tests are wrong or not. Or you could speed it up by having a look at it. > REGRESSION: git status doesn't work if repository root is not the working > directory > ----------------------------------------------------------------------------------- > > Key: SCM-709 > URL: https://jira.codehaus.org/browse/SCM-709 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-git > Affects Versions: 1.8, 1.8.1 > Reporter: Robert Scholte > Assignee: Robert Scholte > Priority: Blocker > > SCM-686 introduced the {{--porcelain}} option to make the {{status}} result > language independend. > Without the {{--porcelain}} option files were listed relative to the working > directory, but with {{--porcelain}} files are listed relative to the > repository root. In most cases these are the same, but not always. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira