ソースを参照

Adds git.path lookup to git search

main
Eric Amodio 6年前
コミット
6d2b60bb11
2個のファイルの変更4行の追加1行の削除
  1. +3
    -0
      CHANGELOG.md
  2. +1
    -1
      src/extension.ts

+ 3
- 0
CHANGELOG.md ファイルの表示

@ -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 ファイルの表示

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

読み込み中…
キャンセル
保存