mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix LFS commit finder not working (#15856)
* Create a copy of the sha bytes. Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		| @@ -310,7 +310,7 @@ revListLoop: | ||||
| 					commits[0] = string(commitID) | ||||
| 				} | ||||
| 			} | ||||
| 			treeID = To40ByteSHA(treeID) | ||||
| 			treeID = To40ByteSHA(treeID, treeID) | ||||
| 			_, err = batchStdinWriter.Write(treeID) | ||||
| 			if err != nil { | ||||
| 				return nil, err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 KN4CK3R
					KN4CK3R