From 2cb5b9b37efb5f97b2033a886961bbf0b857fc19 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 14 Jul 2018 17:07:58 -0400 Subject: [PATCH] Changes file history to always be the full history --- CHANGELOG.md | 1 + src/views/gitExplorer.ts | 26 ++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f0493f..329b08b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Changed - Renames the *GitLens History* explorer to *GitLens File History* explorer for better clarity +- Changes the *GitLens File History* explorer to always show the full file history even when reviewing revisions ### Removed - Removes `gitlens:activeIsTracked`, `gitlens:activeIsBlameable`, `gitlens:activeIsRevision`, and `gitlens:activeHasRemotes` contexts and consolidates them into `gitlens:activeFileStatus` for better performance and UX diff --git a/src/views/gitExplorer.ts b/src/views/gitExplorer.ts index 89edcdb..24d158a 100644 --- a/src/views/gitExplorer.ts +++ b/src/views/gitExplorer.ts @@ -37,6 +37,7 @@ import { } from './explorerNodes'; import { GitUri } from '../gitService'; import { Logger } from '../logger'; +import * as path from 'path'; export * from './explorerNodes'; @@ -480,14 +481,31 @@ export class GitExplorer extends Disposable implements TreeDataProvider