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

"No timeline information was provided." for git history #99523

Closed
Champitoad opened this issue Jun 6, 2020 · 14 comments
Closed

"No timeline information was provided." for git history #99523

Champitoad opened this issue Jun 6, 2020 · 14 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug timeline Timeline view issues timeline-git Timeline view issues with Git history

Comments

@Champitoad
Copy link

Champitoad commented Jun 6, 2020

Issue Type: Bug

Normally, viewing a file tracked in git in the editor would fill the timeline with the git history of this file. I'm pretty sure it worked on my system at some point, but now whatever git-tracked file I open, I never get the timeline.

EDIT: it happens to work for some git repositories, i.e. if I just initialize one with simple text files.

EDIT2: now I managed to make it work for the problematic repositories by moving them in my home directory.

EDIT3: now it works for the original copies of the problematic repositories... not sure if we should keep the issue open, since it was still an odd behavior that someone else might encounter?

VS Code version: Code - OSS 1.45.1 (5763d90, 2020-05-17T22:31:53.325Z)
OS version: Linux x64 5.6.11-arch1-1

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2712)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 7.64GB (1.35GB free)
Process Argv --no-sandbox
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE tty
Extensions: none
@Champitoad
Copy link
Author

Ok I think I found the issue: when I open the folder using a path containing symlinks, I don't get the timeline, but I do if the path is free of symlinks. I was able to reproduce this with a fresh git repo, e.g.:

mkdir test
ln -s test link_to_test
cd test
git init .
touch foo
git add foo
git commit -am "Init"
echo "bar" > foo
git commit -am "Foo bar"

Then launching command File: Open Folder... on test I get the timeline, but not on link_to_test.

@mrdc
Copy link

mrdc commented Sep 18, 2020

I'm having the same issue with Timeline - can confirm that it's somehow related to symlinks.

@mrdc
Copy link

mrdc commented Sep 25, 2020

It self-fixed, then again stopped working - the same folders with symlinks. VS Code 1.49.1 and 1.49.2.

@eamodio eamodio added bug Issue identified by VS Code Team member as probable bug timeline Timeline view issues timeline-git Timeline view issues with Git history labels Nov 4, 2020
@eamodio eamodio added this to the Backlog milestone Nov 4, 2020
@mrdc
Copy link

mrdc commented Nov 6, 2020

BTW GitLens works fine - everything is shown. But VS Code Timeline is empty

@mrdc
Copy link

mrdc commented Nov 6, 2020

The same issue with the latest 1.51.0 update on Win 10 x64 1909.

@mrdc
Copy link

mrdc commented Nov 7, 2020

Some update:

When I open Source Control -> Changes -> Click on changed file -> Diff File is Opened (Working Tree) and then Timeline starts to work - I see all my previous commits.

Repo is local with symbolic links in path
Git 2.29.1.windows.1
VS Code 1.51.0
Win 10 x64 1909

@rdanter
Copy link

rdanter commented Nov 26, 2020

I see the same issue. Opening the workspace by browsing from the root works fine, but if I follow a symlink from my home dir then I see no timeline. I think that fairly conclusively points to symlinks being the cause somehow.

@lszomoru lszomoru assigned lszomoru and unassigned eamodio Oct 4, 2021
@gitgud5000
Copy link

gitgud5000 commented Aug 26, 2022

Same issue.

doing what @mrdc recommended makes it work.

Edit:
Chaning the folder/repo path on my workspace settings from a symlink to a direct route to the mounted filesystem (/mnt/batch/.../etc) fixed the issue, no need to open a Diff file to jumpstart the timeline feature.

@OKRUgit
Copy link

OKRUgit commented Jan 16, 2023

ОЁ!! какое хорошее.
Надо это добавить как основу: или может есть другое решение.
Например настроить через джонс файл(.Jnos)
Не может быть такого что небыло другого решения. В любом случае я это закрпил вот так, для себя

@noontz
Copy link

noontz commented Jan 20, 2023

Same issue on some files, but not all
mrdc workaround kinda fixes it

@J-Sorenson
Copy link

Still getting intermittent issues with VS Code v1.72.2. It's difficult to find a pattern on why it works with some files over others.

@OKRUgit
Copy link

OKRUgit commented Feb 8, 2023

После добавления символических ссылок(linux) в домашнюю папку для удобства, шкала отказалась работать

Чего-же проще , шкала не работает по ссылкам локальным, вот и вся закономерность "Трудно найти закономерность, почему он работает с одними файлами по сравнению с другими."

@rrthomas
Copy link

Indeed, it seems to be that it can't cope with symlinks. As reported by @Champitoad, if I re-open my workspace with the canonical path to it (which is quite inconvenient), I get the timeline information.

@lszomoru
Copy link
Member

Since the issue was last updated, we have added support for git repositories that have a symbolic link on their path. I will go ahead and optimistically close this issue, but in case you are still able to reproduce this with the latest version of VS Code please reopen the issue. Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug timeline Timeline view issues timeline-git Timeline view issues with Git history
Projects
None yet
Development

No branches or pull requests