question-mark
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.

followup #406: fix diffing from commits in history view for code files and notebooks

See original GitHub issue

ref #406

With #406 merged in, at least some files can be diffed successfully from any commit in the history view. However, trying to diff any code file (.py, ‘.ts’, etc) results in:

image

and trying to diff an .ipynb notebook produces a similar, but slightly different error:

image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
telamoniancommented, Mar 25, 2020

This is fixed as of latest master (14e66f1b99f5a6e553253d72d67bcfb26c6d3b1c)

0reactions
telamoniancommented, Dec 7, 2019

I was originally seeing the diffing issue with all notebooks from the history. After the last couple of rebuilds, though, I can’t reproduce that particular error.

However, what I do see now is that notebooks added in a repo’s very first commit:

image

produce the same diff error that I was seeing before:

image
Read more comments on GitHub >

github_iconTop Results From Across the Web

Differences between commit views - GitHub Docs
When Git shows the history of a single file, it simplifies history by omitting commits that did not change the file. Instead of...
Read more >
Source Control with Git in Visual Studio Code
VS Code's built-in Git support provides the Git commit history of the specified file. Selecting a commit will open a diff view of...
Read more >
Using IPython / Jupyter Notebooks Under Version Control
Here is my solution with git. It allows you to just add and commit (and diff) as usual: those operations will not alter...
Read more >
Investigate changes in Git repository | IntelliJ IDEA ... - JetBrains
Review a project's snapshot at a specific revision · Open the Git ; Review file history · Select the required file in any...
Read more >
Basic Version Control with git - Pythia Foundations
Making your first git commit. Viewing and comparing across the commit history ... On branch fix-typo Changes not staged for commit: (use "git...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found