mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Backport #30602 by wxiaoguang Try to fix #30492 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -459,7 +459,7 @@ func parseCommitFileStatus(fileStatus *CommitFileStatus, stdout io.Reader) { | ||||
| 		_, _ = rd.Discard(1) | ||||
| 	} | ||||
| 	for { | ||||
| 		modifier, err := rd.ReadSlice('\x00') | ||||
| 		modifier, err := rd.ReadString('\x00') | ||||
| 		if err != nil { | ||||
| 			if err != io.EOF { | ||||
| 				log.Error("Unexpected error whilst reading from git log --name-status. Error: %v", err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user