Fix lfs management find (#15537)

Fix #15236

* Do not do 40byte conversion within ParseTreeLine
* Missed a to40ByteSHA

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
Lunny XiaoandAndrew Thornton authored and GitHub committed 2021-04-21 18:31:59 +02:00
1 parent 9b8ffa1c7a
commit 2255afffad
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ revListLoop:
commits[0] = string(commitID)
}
}
treeID = to40ByteSHA(treeID)
treeID = To40ByteSHA(treeID)
_, err = batchStdinWriter.Write(treeID)
if err != nil {
return nil, err