diff --git a/src/git/gitService.ts b/src/git/gitService.ts index ac1eb88..b891004 100644 --- a/src/git/gitService.ts +++ b/src/git/gitService.ts @@ -3051,7 +3051,19 @@ export class GitService implements Disposable { let match = searchMessageOperationRegex.exec(search); if (match != null && match[1] !== '') { - this.parseSearchMessageOperations(match[1], operations); + [, value] = match; + + if (GitService.isSha(value)) { + let values = operations.get('commit:'); + if (values === undefined) { + values = [value]; + operations.set('commit:', values); + } else { + values.push(value); + } + } else { + this.parseSearchMessageOperations(value, operations); + } } do {