Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening untracked files from "files changed" section fails #740

Closed
andares opened this issue May 7, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@andares
Copy link

commented May 7, 2019

  • GitLens Version: 9.7.1
  • VSCode Version: 1.33.1
  • OS Version: Windows 10 with WSL (ubuntu 16.04)

vscode version info

Version: 1.33.1 (system setup)
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

I've been using gitlens for a long time, it works very well. At last auto upgrade, when I click a new file (not exists in previous repos) in file changed list, will get a error:

DiffWithPreviousCommand — getPreviousDiffUris(d:/src/apps/app, d:\src\apps\app\database\migrations\2019_05_05_195442_create_receipts_table.php, undefined)
Error: File has no history

It's in previous version has no problem 😂

@eamodio

This comment has been minimized.

Copy link
Owner

commented May 10, 2019

@andares I'm not sure I understand the steps to reproduce this issue, can you please provide some detailed steps that I can follow to see this issue? Thanks!

@andares

This comment has been minimized.

Copy link
Author

commented May 11, 2019

I try to show it with screenshots 😄

step 1

I have a repos

图片

step 2

create a file

TIM图片20190511120626

step 3

check file by gitlens view

图片

step 4

check output info

TIM图片20190511120930

@eamodio eamodio self-assigned this May 11, 2019

@eamodio eamodio added this to the Soon™ milestone May 11, 2019

@eamodio eamodio changed the title DiffWithPreviousCommand — getPreviousDiffUris(<dir>, <file>, undefined) errror Opening an untracked file from "files changed" section fails May 11, 2019

@eamodio eamodio changed the title Opening an untracked file from "files changed" section fails Opening untracked files from "files changed" section fails May 11, 2019

@eamodio eamodio closed this in 07ec5e6 May 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.