diff --git a/src/GitFacade.ts b/src/GitFacade.ts index 1cb0580..4295578 100644 --- a/src/GitFacade.ts +++ b/src/GitFacade.ts @@ -60,7 +60,7 @@ export class GitFacade { } async getLatestFixedCommit(): Promise { - return (await this.queryCommits('-g', '-1', '--grep-reflog=rebase \(fixup\)'))[0] + return (await this.queryCommits('--grep-reflog=rebase (fixup)', '--walk-reflogs', '-1'))[0] } private async queryCommits(...args: string[]): Promise {