lfs/gitscanner{_log}.go: drop unused scan arg

In commit 404992801e194f50d5f3ea8dda56d5fc14671795 of PR #4209 the
scanStashed() function of the "lfs" package was revised to no longer
make use of the *GitScanner argument that was part of its original
implementation from commit 2dc718b38c41f7525c5b7b12e6b23ed558a81cc5
in the same PR.

However, the argument was never dropped from the function's signature,
so we can remove it now.
This commit is contained in:
Chris Darroch 2023-06-06 10:13:19 -07:00
parent 1d64521df7
commit 20412d99a5
2 changed files with 2 additions and 2 deletions

@ -214,7 +214,7 @@ func (s *GitScanner) ScanStashed(cb GitScannerFoundPointer) error {
return err
}
return scanStashed(callback, s)
return scanStashed(callback)
}
// ScanPreviousVersions scans changes reachable from ref (commit) back to since.

@ -70,7 +70,7 @@ func scanUnpushed(cb GitScannerFoundPointer, remote string) error {
return nil
}
func scanStashed(cb GitScannerFoundPointer, s *GitScanner) error {
func scanStashed(cb GitScannerFoundPointer) error {
// Stashes are actually 2-3 commits, each containing one of:
// 1. Working copy (WIP) modified files
// 2. Index changes