@@ -344,28 +344,28 @@ public string BuildHistoriesFilter()
344
344
if ( filter . Mode == FilterMode . Included )
345
345
includedRefs . Add ( filter . Pattern ) ;
346
346
else if ( filter . Mode == FilterMode . Excluded )
347
- excludedBranches . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( ) . Slice ( 11 ) } \" --decorate-refs-exclude=\" { filter . Pattern } \" ") ;
347
+ excludedBranches . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( 11 ) } \" --decorate-refs-exclude=\" { filter . Pattern } \" ") ;
348
348
}
349
349
else if ( filter . Type == FilterType . LocalBranchFolder )
350
350
{
351
351
if ( filter . Mode == FilterMode . Included )
352
- includedRefs . Add ( $ "--branches={ filter . Pattern . AsSpan ( ) . Slice ( 11 ) } /*") ;
352
+ includedRefs . Add ( $ "--branches={ filter . Pattern . AsSpan ( 11 ) } /*") ;
353
353
else if ( filter . Mode == FilterMode . Excluded )
354
- excludedBranches . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( ) . Slice ( 11 ) } /*\" --decorate-refs-exclude=\" { filter . Pattern } /*\" ") ;
354
+ excludedBranches . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( 11 ) } /*\" --decorate-refs-exclude=\" { filter . Pattern } /*\" ") ;
355
355
}
356
356
else if ( filter . Type == FilterType . RemoteBranch )
357
357
{
358
358
if ( filter . Mode == FilterMode . Included )
359
359
includedRefs . Add ( filter . Pattern ) ;
360
360
else if ( filter . Mode == FilterMode . Excluded )
361
- excludedRemotes . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( ) . Slice ( 13 ) } \" --decorate-refs-exclude=\" { filter . Pattern } \" ") ;
361
+ excludedRemotes . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( 13 ) } \" --decorate-refs-exclude=\" { filter . Pattern } \" ") ;
362
362
}
363
363
else if ( filter . Type == FilterType . RemoteBranchFolder )
364
364
{
365
365
if ( filter . Mode == FilterMode . Included )
366
- includedRefs . Add ( $ "--remotes={ filter . Pattern . AsSpan ( ) . Slice ( 13 ) } /*") ;
366
+ includedRefs . Add ( $ "--remotes={ filter . Pattern . AsSpan ( 13 ) } /*") ;
367
367
else if ( filter . Mode == FilterMode . Excluded )
368
- excludedRemotes . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( ) . Slice ( 13 ) } /*\" --decorate-refs-exclude=\" { filter . Pattern } /*\" ") ;
368
+ excludedRemotes . Add ( $ "--exclude=\" { filter . Pattern . AsSpan ( 13 ) } /*\" --decorate-refs-exclude=\" { filter . Pattern } /*\" ") ;
369
369
}
370
370
else if ( filter . Type == FilterType . Tag )
371
371
{
0 commit comments