Checkout should return 0 when cloning empty repo, with no master branch
-----------------------------------------------------------------------

                 Key: SCM-648
                 URL: https://jira.codehaus.org/browse/SCM-648
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-git
    Affects Versions: 1.5
            Reporter: Bertrand Paquet
            Priority: Minor
         Attachments: patch

The checkout git command fail if repo does not contain a master branch, because 
the checkout try to do a git pull.

In the case of an empty remote repo, this patch only do a git clone.

After a such checkout, you can checkin a file, the remote branch will be 
automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to