File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ func ScanRepositoryUsingGraph(
6969 ctx , cancel := context .WithCancel (context .TODO ())
7070 defer cancel ()
7171
72- graph := NewGraph (rg , nameStyle )
72+ graph := NewGraph (nameStyle )
7373
7474 refIter , err := repo .NewReferenceIter (ctx )
7575 if err != nil {
@@ -337,8 +337,6 @@ func ScanRepositoryUsingGraph(
337337
338338// Graph is an object graph that is being built up.
339339type Graph struct {
340- rg RefGrouper
341-
342340 blobLock sync.Mutex
343341 blobSizes map [git.OID ]BlobSize
344342
@@ -361,10 +359,8 @@ type Graph struct {
361359}
362360
363361// NewGraph creates and returns a new `*Graph` instance.
364- func NewGraph (rg RefGrouper , nameStyle NameStyle ) * Graph {
362+ func NewGraph (nameStyle NameStyle ) * Graph {
365363 return & Graph {
366- rg : rg ,
367-
368364 blobSizes : make (map [git.OID ]BlobSize ),
369365
370366 treeRecords : make (map [git.OID ]* treeRecord ),
You can’t perform that action at this time.
0 commit comments