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.

Timeline (git log) shows nothing for nested git repositories

See original GitHub issue

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.72.2
  • OS Version: 18.04.6 LTS (Bionic Beaver)

Steps to Reproduce:

  1. Provide a git repository that contains multiple nested git repositories
  2. Set "git.repositoryScanMaxDepth": -1
  3. The timeline doesn’t display the git commit log

The output of git shows the following:

[2022-10-24T12:52:05.863Z] > git log --format=%H%n%aN%n%aE%n%at%n%ct%n%P%n%D%n%B -z -n21 -- /absolute/path/to/file.hpp [110ms]

If I execute this command from within the nested repository it shows the git log correctly. My assumption is that this command is executed from some top level directory.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dprogmcommented, Oct 24, 2022

My directory structure is as follows: repo_dirs top_repo has a sub directory called sub_dir that consists of two repositories which are symlinks.

Here is a screenshot of how it looks like in vs code: repo_vs_code

Note that the timeline is empty although it should display my last commit of file2.txt. I hope this helps so far.

1reaction
dprogmcommented, Oct 24, 2022

Unfortunately I only have a screenshot of a working example. You find the timeline view in the red rectangle. Should I provide a minimal reproduction case for the issue?

timeline
Read more comments on GitHub >

github_iconTop Results From Across the Web

Considerations and possible issues with Nested GIT repositories
The problem is that your parent repo will only record gitlinks for each of your nested repos: it will record the name of...
Read more >
Git - Submodules - Git SCM
If a merge commit exists in the submodule directory that contains both commits in its history, Git will suggest it to you as...
Read more >
Using Git in Dreamweaver - Adobe Support
From the Git panel, click the Show Repository History icon. The system displays the Git Repository History with the details of all the...
Read more >
Version Control with Git - Galaxy Training!
In this tutorial, you will learn how to create a git repo, and begin working with it. ... we can ask Git to...
Read more >
Wiki - GitLab Documentation
Select Save changes. View history of a wiki page. The changes of a wiki page over time are recorded in the wiki's 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