Skip to content

Commit

Permalink
fix error log from bisect status
Browse files Browse the repository at this point in the history
  • Loading branch information
kahole committed Nov 19, 2024
1 parent 1320c31 commit 09759e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/bisectCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MagitBisectState } from '../models/magitBisectState';
import { MagitLogEntry } from '../models/magitLogCommit';
import { MagitRepository } from '../models/magitRepository';
import { Ref, RefType, Repository } from '../typings/git';
import { gitRun } from '../utils/gitRawRunner';
import { gitRun, LogLevel } from '../utils/gitRawRunner';
import MagitUtils from '../utils/magitUtils';
import ViewUtils from '../utils/viewUtils';
import LogView from '../views/logView';
Expand Down Expand Up @@ -65,7 +65,7 @@ function matchWithFallback(log: string, primaryPattern: RegExp, fallbackPattern:

export async function bisectingStatus(repository: Repository): Promise<MagitBisectState> {
try {
const output = await gitRun(repository, ['bisect', 'log']);
const output = await gitRun(repository, ['bisect', 'log'], undefined, LogLevel.None);
const bisectLog = output.stdout.split('\n').reverse().join('\n');

const goodPattern = /good: \[([a-f0-9]{40})\]/;
Expand Down

0 comments on commit 09759e7

Please sign in to comment.