Parcourir la source

Adds git.path lookup to git search

main
Eric Amodio il y a 6 ans
Parent
révision
6d2b60bb11
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +3
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 3
- 0
CHANGELOG.md Voir le fichier

@ -13,6 +13,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Adds the *Clear Results* (`gitlen.resultsExplorer.clearResultsNode`) command to the *GitLens Results* view inline for results nodes
- Adds *Push to Commit (via Terminal)* (`gitlens.explorers.terminalPushCommit`) command to commit nodes on the current branch in the *GitLens* explorer
## Changed
- Uses vscode's `git.path` setting when searching for the git executable
### Fixed
- Fixes [#276](https://github.com/eamodio/vscode-gitlens/issues/276) - Lookup for branches without upstreams fails
- Fixes [#274](https://github.com/eamodio/vscode-gitlens/issues/274) - TextEditor is closed/disposed occurs when this extension is enabled

+ 1
- 1
src/extension.ts Voir le fichier

@ -35,7 +35,7 @@ export async function activate(context: ExtensionContext) {
const cfg = configuration.get<IConfig>();
try {
await GitService.initialize(cfg.advanced.git);
await GitService.initialize(cfg.advanced.git || workspace.getConfiguration('git').get<string>('path'));
}
catch (ex) {
Logger.error(ex, `GitLens(v${gitlensVersion}).activate`);

Chargement…
Annuler
Enregistrer