mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	Merge branch 'clone_without_blobs' into 'master'
Clone without blobs to save space See merge request fdroid/fdroidserver!1382
This commit is contained in:
		
						commit
						79d69696a4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1256,7 +1256,7 @@ class vcs_git(vcs):
 | 
			
		|||
    def gotorevisionx(self, rev):
 | 
			
		||||
        if not os.path.exists(self.local):
 | 
			
		||||
            # Brand new checkout
 | 
			
		||||
            p = self.git(['clone', '--', self.remote, str(self.local)])
 | 
			
		||||
            p = self.git(['clone', '--filter=blob:none', '--', self.remote, str(self.local)])
 | 
			
		||||
            if p.returncode != 0:
 | 
			
		||||
                self.clone_failed = True
 | 
			
		||||
                raise VCSException("Git clone failed", p.output)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue