Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-648

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5
    • 1.6
    • None
    • Patch

    Description

      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.

      Attachments

        1. patch
          38 kB
          Bertrand Paquet
        2. patch
          6 kB
          Bertrand Paquet

        Activity

          People

            olamy Olivier Lamy
            bpaquet Bertrand Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: