Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3788

Git does not report an error when creating a managed repository over an existing one

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • open the folder containing the repositories managed by FishEye (by default FISHEYE_INST/managed-repos)
      • create a new empty Git repository and commit something to it:
        git init test.git
        echo test > test
        git add test
        git commit -m"test"
        
      • in the FishEye Admin, create a managed Git repository with the name 'test'

      --> No error is reported, and if you clone the repo locally, you can see it is not an empty Git repository (git log returns the commit generated above)

      This can happen for example if an existing managed repo was removed from config.xml (the repo is not registered to FishEye but still exists on disk)

      Attachments

        Activity

          People

            pepoirot Pierre-Etienne Poirot (Inactive)
            pepoirot Pierre-Etienne Poirot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: