Browse Source

Fixes #526 - removes chars to avoid shell issues

main
Eric Amodio 4 years ago
parent
commit
e792941c57
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/gitService.ts

+ 1
- 0
CHANGELOG.md View File

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#526](https://github.com/eamodio/vscode-gitlens/issues/526) - FAILED in gitlens.outputLevel=verbose; likely due to regex not in quotes
- Fixes [#1222](https://github.com/eamodio/vscode-gitlens/issues/1222) - GitLens: Open Associated Pull Request doesn't work
- Fixes [#1223](https://github.com/eamodio/vscode-gitlens/issues/1223) - commit pane, ${tips} does not show tags
- Fixes [#1225](https://github.com/eamodio/vscode-gitlens/issues/1225) - Changes hover is wrong if the original/new line number doesn't match

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

@ -1405,7 +1405,7 @@ export class GitService implements Disposable {
// If we found the repo, but no user data was found just return
if (user === null) return undefined;
const data = await Git.config__get_regex('user.(name|email)', repoPath, { local: true });
const data = await Git.config__get_regex('^user\\.', repoPath, { local: true });
if (!data) {
// If we found no user data, mark it so we won't bother trying again
this._userMapCache.set(repoPath, null);

Loading…
Cancel
Save