Skip to content
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

It doesn't show shallow repo's commits #45

Open
wicast opened this issue Nov 29, 2021 · 5 comments
Open

It doesn't show shallow repo's commits #45

wicast opened this issue Nov 29, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@wicast
Copy link

wicast commented Nov 29, 2021

After clone with --depth n and open with Gittyup, there is no git commit log at all.
The gitk or other tools can show the shallow repo correctly.

@wicast
Copy link
Author

wicast commented Nov 30, 2021

It seems libgit2/libgit2#3058 is not supporting shallow, but gitui, which using libgit2, dose support shallow commit history list.

@Murmele
Copy link
Owner

Murmele commented Jan 25, 2022

I can confirm this. Is it often the usecase to not clone the complete repo?

@wicast
Copy link
Author

wicast commented Jan 25, 2022

I can confirm this. Is it often the usecase to not clone the complete repo?

It is quite useful when cloning a huge repo or having poor network. Rather common usecase for me.

@exactly-one-kas exactly-one-kas added the enhancement New feature or request label Mar 29, 2022
@moolight-seashell
Copy link

It will be cool if we can have , on the clone window, on advanced, option to shallow clone ( with depth option )to blobless clone and to treeless clone

@wickles
Copy link

wickles commented Oct 30, 2023

I can confirm this. Is it often the usecase to not clone the complete repo?

This is very common! See this search query with 139k results for example: https://github.com/search?q=%22git+clone+--depth%22&type=code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants