Comments (7)
@BerndErnst Could it be that git is missing from the host os?
Have you looked in to wslgit?
from vscode-gitblame.
Hey Ernst.
Thank you for the issue!
There is more debug information available in the Output (View: Toggle Output
) under "Extension: gitblame". By default it tries to use the git.path
configuration from vscode and if that is null or missing it will try to execute git
.
I have confirmed that there is a bug that will still display the template commit if the quick info is displayed using the command.
from vscode-gitblame.
I have released a fix for the 00000...
message.
from vscode-gitblame.
@Sertion
Here is my output
[ 16:40:16 | command ] git rev-parse --show-toplevel
[ 16:40:16 | error ] Error
[ 16:40:16 | info ] File "c:\path\file.md" is not a decendant of a git repository
[ 16:40:16 | info ] File "c:\path\file.md" is not a decendant of a git repository
[ 16:40:27 | info ] Will not try to blame file "\extension-output-#2" as it is outside of the current workspace
But the message is kinda misleading. There is a .git folder next to it and it is a Git Repository.
I tested it aswell with Open Folder in the parent directory (spanning several Git Folder) aswell with opening a single project folder
from vscode-gitblame.
Not sure if your fix is already applied.
But the 0000... error is gone indeed
from vscode-gitblame.
Thank you for getting back to me @BerndErnst!
A fix for the 0000...
error did indeed get deployed yesterday. Great to hear that it worked for you.
As for the misleading messages: If the git rev-parse --show-toplevel
command can't find a git-folder vscode-gitblame will not press the issue further and accept that there is no git repository available for the file.
When there is an error executing a command vscode-gitblame logs what was outputted to stderr
by the command. In this case it was the rather unhelpful Error
. Is it possible for you to run git rev-parse --show-toplevel
in the folder where file.md
is?
P.S. The relevant functions are GitFilePhysical.executeGitRevParseCommand
and execute
if anyone want's to have a look.
from vscode-gitblame.
A version that should resolve this issue was released last week.
from vscode-gitblame.
Related Issues (20)
- Causes computer to crash when switching branches HOT 1
- Shows old author name (username) HOT 1
- First name only? HOT 1
- `gitblame.delayBlame` triggers for each character typed HOT 5
- Alternate ssh profile breaks remote URL for nonstandard origins HOT 4
- Color and opacity HOT 2
- "waiting for git blame response" flashes very quickly whenever editing a file HOT 6
- the color of inline message too bright HOT 2
- Allow providing custom arguments to the invocation git blame HOT 10
- Incorrect issues URL in changelog HOT 1
- Bonobo Git Server uses UUID for repository IDs HOT 2
- Define a custom theme color for the inline message HOT 2
- Multiple remotes, Related to #167 HOT 1
- Status Bar block disappears after a change in extension settings HOT 2
- Feature Request: Copy commit hash on info message click HOT 2
- Extension causes high cpu load HOT 9
- For newly submitted code, the current line still shows “Not Committed Yet ” HOT 1
- No longer works since 11.0.0 HOT 18
- Inline mode: Is it possible to display the exact time, accurate to the second? Currently, committer.date only provides precision to the date. HOT 1
- WSL2 and Java causes git blame to hang HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-gitblame.