maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Paramonov (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (SCM-574) GitCheckInCommand fails on empty changed files list
Date Mon, 06 Sep 2010 00:58:32 GMT
GitCheckInCommand fails on empty changed files list
---------------------------------------------------

                 Key: SCM-574
                 URL: http://jira.codehaus.org/browse/SCM-574
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-git
    Affects Versions: 1.4
            Reporter: Andrey Paramonov
         Attachments: GitCheckInCommand.patch

If there is no file in the Git index "git checkin" returns exit code 1, which causes failed
CheckInScmResult. Because of that "mvn release:branch" always fails for Git repositories (see
MRELEASE-579).

We shouldn't probably call "git checkin" if there is nothing to check in. After I applied
the attached patch, "mvn release:branch" succeeded.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message