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.

fatal: --unshallow on a complete repository does not make sense . Please check git output for more details

See original GitHub issue

image

I did the following and this happened:

  1. Checked out https://github.com/microsoft/vscode/pull/91615 for review via extension
  2. While this was happening, I updated the branch with this button: image

Output:

[Info] Looking for git repository
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] No remote with name 'origin' found. Please update your 'githubPullRequests.remotes' setting.
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] No GitHub remotes found
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] Review> no matching pull request metadata found for current branch tyriar/terminal_action2
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch tyriar/terminal_action2
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> switch to Pull Request #91615 - start
[Info] Unshallowing failed: Failed to execute git {
  "exitCode": 1,
  "gitCommand": "pull",
  "stdout": "",
  "stderr": "fatal: --unshallow on a complete repository does not make sense\n"
}. Falling back to git pull
[Info] Review> checkout failed #{"message":"Failed to execute git","stdout":"","stderr":"fatal: --unshallow on a complete repository does not make sense\n","exitCode":1,"gitCommand":"pull"}
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch pr/jmbockhorst/91615
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remote with name 'ups' found. Please update your 'githubPullRequests.remotes' setting.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch pr/jmbockhorst/91615

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyriarcommented, Feb 1, 2022

Let’s call this verified with the improved logging, I haven’t hit it since but if I do I can share the log.

1reaction
Tyriarcommented, Nov 24, 2021

I think they’re the same, can remember exactly what I did a month ago though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fatal: --unshallow on a complete repository does not make ...
Looks like it's not allowing to unshallow a shallow clone. You might want to try. git fetch --depth=10000. assuming there are 10000 depths...
Read more >
Unshallowing a Git repository - DEV Community ‍ ‍
GitLab allows to perform shallow repository clones (and it seems to be the default in recent versions from what I can tell).
Read more >
secret_detection job in 14.9 fails in small repositories: "fatal ...
Summary Steps to reproduce Have a project with a small number of... ... "fatal: --unshallow on a complete repository does not make sense" ......
Read more >
Solving “Fatal: Not A Git Repository” (Or Any Of The Parent ...
In this article, we will explore what causes, how to prevent, and how to solve the “fatal: not a git repository” error.
Read more >
How to handle big repositories with Git | Atlassian Git Tutorial
Don't give up the fantastic capabilities of Git just because you have a big repository history or huge files. There are workable solutions...
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