Explorar el Código

Adds git.path lookup to git search

main
Eric Amodio hace 6 años
padre
commit
6d2b60bb11
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. +3
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 3
- 0
CHANGELOG.md Ver fichero

@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar