diff --git a/CHANGELOG.md b/CHANGELOG.md index 05525f4..e243db7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#345](https://github.com/eamodio/vscode-gitlens/issues/345) - Custom date formats don't work in the GitLens view - Fixes [#336](https://github.com/eamodio/vscode-gitlens/issues/336) - Default Settings Get Added Automatically - Fixes [#342](https://github.com/eamodio/vscode-gitlens/issues/342) - GitLens crashes while debugging with Chrome Debugger a larger project +- Fixes [#343](https://github.com/eamodio/vscode-gitlens/issues/343) - Can't show blame when VSCode starts on branch without upstream - Fixes issue where username and/or password in a remote urls could be shown ## [8.2.1] - 2018-04-11 diff --git a/src/git/git.ts b/src/git/git.ts index b34edee..f8a8558 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -50,15 +50,15 @@ const stashFormat = [ const defaultStashParams = ['stash', 'list', '--name-status', '-M', `--format=${stashFormat}`]; const GitWarnings = { - notARepository: /Not a git repository/, - outsideRepository: /is outside repository/, - noPath: /no such path/, - noCommits: /does not have any commits/, - notFound: /Path \'.*?\' does not exist in/, - foundButNotInRevision: /Path \'.*?\' exists on disk, but not in/, - headNotABranch: /HEAD does not point to a branch/, - noUpstream: /no upstream configured for branch \'(.*?)\'/, - unknownRevision: /ambiguous argument \'.*?\': unknown revision or path not in the working tree/ + notARepository: /Not a git repository/i, + outsideRepository: /is outside repository/i, + noPath: /no such path/i, + noCommits: /does not have any commits/i, + notFound: /Path \'.*?\' does not exist in/i, + foundButNotInRevision: /Path \'.*?\' exists on disk, but not in/i, + headNotABranch: /HEAD does not point to a branch/i, + noUpstream: /no upstream configured for branch \'(.*?)\'/i, + unknownRevision: /ambiguous argument \'.*?\': unknown revision or path not in the working tree/i }; async function gitCommand(options: CommandOptions & { readonly correlationKey?: string }, ...args: any[]): Promise {