Merge pull request #2049 from TheJare/fsck-fixes
fsck only scans current version of objects
This commit is contained in:
commit
cad7bcf0c5
@ -47,7 +47,7 @@ func fsckCommand(cmd *cobra.Command, args []string) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
if err := gitscanner.ScanRefWithDeleted(ref.Sha, nil); err != nil {
|
if err := gitscanner.ScanRef(ref.Sha, nil); err != nil {
|
||||||
ExitWithError(err)
|
ExitWithError(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user