mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add fetch.writeCommitGraph to gitconfig (#20006)
Add fetch.writeCommitGraph to gitconfig to ensure that a commit-graph will be written on git fetch calls. Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -238,6 +238,9 @@ func syncGitConfig() (err error) {
 | 
			
		||||
		if err := configSet("gc.writeCommitGraph", "true"); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
		if err := configSet("fetch.writeCommitGraph", "true"); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if SupportProcReceive {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user