Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to view history of moved file

See original GitHub issue

When looking at the file history it actually shows these properly. The problem is when I try to select one of the entries before the file was moved, it tries to access the same file name but at the newest location. What I would expect to happen is it would try to open the file location of the selected commit (which should prevent this error).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

Goblinlordxcommented, Mar 24, 2017

Actually, just a note on this, after you mentioned Git: View History (git log). I tried there and when it lists the files there it does have the newest location displayed. This is fine I think, it also opens the file from Git: View History (git log) perfectly fine. I when I said it should “try to open the old location” I think I just don’t have a full understanding of how git stores old commits. Anyways, I am sure you can figure it out ^^. (Git: View File History still has a problem though)

As an aside note, I want to express my appreciation for your (any contributors) effort in maintaining this plugin. It is absolutely awesome and I can’t thank you all enough for it~

DonJayamannecommented, Jan 27, 2018

Should be fixed in the latest version. Please retest and open if the problem persists.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why might git log not show history for a moved file, and what ...
Try git log --follow on your file. Is it possible to move/rename files in Git and maintain their history?
Read more >
What if something goes wrong in File History? - Microsoft
Learn what to do if something goes wrong in File History, whether your drive is full or your files can't be copied.
Read more >
How to Find a File That Has Been Moved
1. Click Start and select "Computer" to open Windows Explorer. · 2. Select the location where you want to search for the missing...
Read more >
View commit history across file renames and moves
When a file is renamed or moved to a new directory but half of it's contents remain the same, it's commit history will...
Read more >
434085 – "Follow Renames" in history view is still not working
I renamed the whole src in org.eclipse.jgit twice and the history view could follow ... After I opened this bug we decided to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found