-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension doesn't work in case of sparse checkout and partial clone #356
Comments
Thanks @EugeniyMaksimov for reporting it! I will have a look asap. |
Thank you very much! |
I just have seen on the documentation that
Nevertheless, could you give me an example of the command you are using on an existing repository which I could use to test? |
mkdir work I also tried full clone: git clone -b --no-checkout . |
I tried the command you are listing but cannot make it work, imagine I would like to do it with this repo - https://github.com/laurentkempe/DynamicRun.git If I try what you also tried
I get the following
|
Hi Laurent, PS C:\New folder> git clone -b master --no-checkout https://github.com/laurentkempe/DynamicRun.git . |
Thanks @EugeniyMaksimov I could do a sparse checkout of DynamicRun now and can reproduce the issue that no changes are shown with Git Diff Margin. I also learned about something new. |
I can confirm that the issue comes from libgit2sharp Git Diff Margin get an exception So, I guess there is not much I can do about it! |
Hello Laurent, |
Hello Eugeniy |
Hi! Git Diff Margin works for me in the main repo folder. However, I get nothing in the margin for projects that are in another work tree, i.e. added with Git Diff Margin version: 3.10.2.268 Ps. thanks for a great extension! ❤ |
Thanks @miniyou for your nice message! You can also add a star to the project on Github to show your recognition and on Visual Studio Git Diff Margin marketplace |
Hello!
Versions
Version 16.7.6
What happened
Change markers (yellow lines, red triangles) are not shown if the project is in the repository, where sparse checkout and partial clone git features are used.
Steps to Reproduce
I have two repository, in regular one everything is fine, but in the other, where the sparse checkout and partial clone features are used, there is no any markers.
The text was updated successfully, but these errors were encountered: