Browse Source

Fixes #440 - Increases max buffer to 100MB

main
Eric Amodio 6 years ago
parent
commit
f8e287615f
4 changed files with 5 additions and 3 deletions
  1. +2
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/showCommitSearch.ts
  3. +1
    -1
      src/git/shell.ts
  4. +1
    -1
      src/gitService.ts

+ 2
- 0
CHANGELOG.md View File

@ -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))

+ 1
- 1
src/commands/showCommitSearch.ts View File

@ -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:

+ 1
- 1
src/git/shell.ts View File

@ -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<string>((resolve, reject) => {
const proc = execFile(command, args, opts, (err: Error & { code?: string | number } | null, stdout, stderr) => {

+ 1
- 1
src/gitService.ts View File

@ -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];

Loading…
Cancel
Save