Git plugin keeps .gitmodules open

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In GitSCM.getSubmoduleRepository, the Git plugin opens .gitmodules through a BufferedReader, but never closes the BufferedReader.

      In Windows a file can't be modified by anything else while it's open, which means checkouts fail when .gitmodules changes between the old commit and the new commit. Hudson must be restarted to be able to change .gitmodules again.

      The fix seems pretty straight forward.

            Assignee:
            Andrew Bayer
            Reporter:
            edsrzf
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: