Ver a proveniência

Fixes stash matching for commit search

e.g. `stash{1}`
main
Eric Amodio há 3 anos
ascendente
cometimento
d6f56aaf87
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/git/search.ts

+ 1
- 1
src/git/search.ts Ver ficheiro

@ -52,7 +52,7 @@ export namespace SearchPattern {
]);
const searchOperationRegex =
/(?:(?<op>=:|message:|@:|author:|#:|commit:|\?:|file:|~:|change:)\s?(?<value>".+?"|\S+\b))|(?<text>\S+)(?!(?:=|message|@|author|#|commit|\?|file|~|change):)/gi;
/(?:(?<op>=:|message:|@:|author:|#:|commit:|\?:|file:|~:|change:)\s?(?<value>".+?"|\S+\b}?))|(?<text>\S+)(?!(?:=|message|@|author|#|commit|\?|file|~|change):)/gi;
export function fromCommit(ref: string): string;
export function fromCommit(commit: GitRevisionReference): string;

Carregando…
Cancelar
Guardar