Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32246

Is it absolutely necessary to keep full .git repository in the sub-projects?

      Original reporter ivananishchuk

      Can't we use, say, just one git directory for all of them? (Making them multiple working directories for a single git repository.) It would save a lot of disk space and internet traffic.

      At the very least, maybe we can use master-project's cloned repository as a remote for sub-projects? Local git clone uses hardlinks so the disk space and traffic would be preserved without changing how it looks inside each workdir.

      More info on SO: http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git

          [JENKINS-32246] Is it absolutely necessary to keep full .git repository in the sub-projects?

          Matthew DeTullio created issue -
          Matthew DeTullio made changes -
          Description Original: Can't we use, say, just one git directory for all of them? (Making them multiple working directories for a single git repository.) It would save a lot of disk space and internet traffic.

          At the very least, maybe we can use master-project's cloned repository as a remote for sub-projects? Local git clone uses hardlinks so the disk space and traffic would be preserved without changing how it looks inside each workdir.

          [More info on SO](http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git)
          New: Original reporter [~ivananishchuk]

          Can't we use, say, just one git directory for all of them? (Making them multiple working directories for a single git repository.) It would save a lot of disk space and internet traffic.

          At the very least, maybe we can use master-project's cloned repository as a remote for sub-projects? Local git clone uses hardlinks so the disk space and traffic would be preserved without changing how it looks inside each workdir.

          [More info on SO](http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git)
          Matthew DeTullio made changes -
          Description Original: Original reporter [~ivananishchuk]

          Can't we use, say, just one git directory for all of them? (Making them multiple working directories for a single git repository.) It would save a lot of disk space and internet traffic.

          At the very least, maybe we can use master-project's cloned repository as a remote for sub-projects? Local git clone uses hardlinks so the disk space and traffic would be preserved without changing how it looks inside each workdir.

          [More info on SO](http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git)
          New: Original reporter [~ivananishchuk]

          Can't we use, say, just one git directory for all of them? (Making them multiple working directories for a single git repository.) It would save a lot of disk space and internet traffic.

          At the very least, maybe we can use master-project's cloned repository as a remote for sub-projects? Local git clone uses hardlinks so the disk space and traffic would be preserved without changing how it looks inside each workdir.

          More info on SO: http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git
          Matthew DeTullio made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s Original: multi-branch-project-plugin [ 21127 ]
          Matthew DeTullio made changes -
          Labels New: multibranch
          Matthew DeTullio made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s New: scm-api-plugin [ 18054 ]
          Matthew DeTullio made changes -
          Component/s Original: branch-api-plugin [ 18621 ]
          Matthew DeTullio made changes -
          Assignee Original: Matthew DeTullio [ mjdetullio ] New: Mark Waite [ markewaite ]
          Matthew DeTullio made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]

            Unassigned Unassigned
            mjdetullio Matthew DeTullio
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: