diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cc480a..9232b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,11 +17,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed - Fixes [#436](https://github.com/eamodio/vscode-gitlens/issues/436) - Copy to clipboard not working - Fixes [#442](https://github.com/eamodio/vscode-gitlens/issues/442) - GitLens File History fails if name (or path) starts with - +- Fixes [#440](https://github.com/eamodio/vscode-gitlens/issues/436) - Searching for commits with an empty query yields to no results anymore - Fixes issue where changed files count was wrong when the branch was behind the upstream - Fixes issue where the *GitLens File History* explorer wasn't being updated automatically for working changes - Fixes issue where the *Compare File with * Revision* commands in the editor toolbar would show and hide too often because of insignificant focus changes - Fixes issue where the scope box would be empty when there was no workspace open in the interactive settings editor + ## [8.4.1] - 2018-06-19 ### Fixed - Fixes issue with insiders builds because of the new `SymbolInformation` API changes (see [Microsoft/vscode#34968](https://github.com/Microsoft/vscode/issues/34968)) diff --git a/src/commands/showCommitSearch.ts b/src/commands/showCommitSearch.ts index 8bb3010..1cd5a58 100644 --- a/src/commands/showCommitSearch.ts +++ b/src/commands/showCommitSearch.ts @@ -113,7 +113,7 @@ export class ShowCommitSearchCommand extends ActiveEditorCachedCommand { break; case GitRepoSearchBy.Message: - searchLabel = `commits with a message matching '${args.search}'`; + searchLabel = args.search ? `commits with a message matching '${args.search}'` : 'all commits'; break; case GitRepoSearchBy.Sha: diff --git a/src/git/shell.ts b/src/git/shell.ts index 6bd0b75..4ce419f 100644 --- a/src/git/shell.ts +++ b/src/git/shell.ts @@ -115,7 +115,7 @@ export interface CommandOptions { } export function runCommand(command: string, args: any[], options: CommandOptions = {}) { - const { stdin, stdinEncoding, ...opts } = { maxBuffer: 10 * 1024 * 1024, ...options } as CommandOptions; + const { stdin, stdinEncoding, ...opts } = { maxBuffer: 100 * 1024 * 1024, ...options } as CommandOptions; return new Promise((resolve, reject) => { const proc = execFile(command, args, opts, (err: Error & { code?: string | number } | null, stdout, stderr) => { diff --git a/src/gitService.ts b/src/gitService.ts index 277cfa0..6e2fe35 100644 --- a/src/gitService.ts +++ b/src/gitService.ts @@ -1132,7 +1132,7 @@ export class GitService extends Disposable { searchArgs = [`--`, `${search}`]; break; case GitRepoSearchBy.Message: - searchArgs = [`--grep=${search}`]; + searchArgs = search ? [`--grep=${search}`] : []; break; case GitRepoSearchBy.Sha: searchArgs = [search];