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.

It takes very long to show branch history

See original GitHub issue

VSCode version 1.19.2 Architecture x64 Windows 10 PRO

Hi! I cannot believe that I have an issue so bold that no one else reports - maybe I am missing something?

After calling Git: View History (git log) a Git History (branch) tab appears with Loading... on it but it does not populate with history. See:

image

After short examination i can see:

git log --full-history --format=<format> --date-order --decorate=full --skip=0 --max-count=100 master

in OUTPUT/Git History. Further examination shows that --format=<format> seems to be the problem. When executed in terminal:

git log --full-history --format=<format> --date-order --decorate=full --skip=0 --max-count=100 master
fatal: invalid --pretty format: <format>

Am I doing something wrong (no gitHistory setting is changed from default in user/workspace settings)?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bartosz-antosikcommented, Jan 22, 2018
  • I did exactly this. I mean all the times are measured in VSCode’s terminal after having workspace opened then copied the results.

  • I have done the test with invalidating the find command. I have answered to this above: “After invalidating the find command history pops instantly.”

Seems that find is the problem.

0reactions
bartosz-antosikcommented, Jan 22, 2018

Yes, it displays history much, much faster.

All that’s left is to repeat: Great extension! And getting better! Many thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Repository tab: Showing local history is slow
It takes around 2 seconds to load LOCAL branch history. That makes the entire Git Repository window hard to use in regular scenarios....
Read more >
How to get commit history for just one branch? - Stack Overflow
I would find it very useful to see the history of all commits to the my_experiments branch until it hits the creation of...
Read more >
2.3 Git Basics - Viewing the Commit History
Viewing the Commit History ; --relative-date. Display the date in a relative format (for example, “2 weeks ago”) instead of using the full...
Read more >
Viewing the branch history - GitHub Docs
Viewing the branch history. You can see details about any commit in GitHub Desktop, including a diff of the changes the commit introduced....
Read more >
How (and why!) to keep your Git commit history clean - GitLab
Since we again modified a commit that's already present in remote repo, we need force push this branch again using git push --force-with-lease...
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