forked from forgejo/forgejo
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:
parent
1a5659943e
commit
df72cf6211
3 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue